Re: Kernel 3.14.x bug? rm, mv root-owned files
On Fri, Jun 6, 2014 at 1:37 PM, Bob Proulx <bob@proulx.com> wrote:
>> $ rm -v /tmp/testing/newjunk1.txt
>> rm: remove write-protected regular file ‘/tmp/testing/newjunk1.txt’? y
>> removed ‘/tmp/testing/newjunk1.txt’
>
> Sure. Because tst1 owns /tmp/testing.
Aside: This is just a courtesy on behalf of rm. It looks at the file
and says, hmm, you're allowed to delete it, but maybe you made it
read-only because you want it to stay there... that's worth querying
the user. That's why this one is slightly different from the other
examples.
ChrisA
Reply to: