[aklug] Re: interesting rm behavior

From: <bryanm@acsalaska.net>
Date: Sat Dec 31 2011 - 02:23:12 AKST

On Sat, December 24, 2011 12:21 pm, Christopher Howard wrote:
> On 12/24/2011 08:30 AM, bryanm@acsalaska.net wrote:
<snip>
>> Still, I find it interesting that a situation could arise in which
>> a user may not be able to remove a tree of his/her self-owned files
>> with "rm -rf". Going a step further, setting the "immutable"
>> attribute could complicate things further.
>>
> There was at least one thread where this topic was brought up:
>
> https://consortiumlibrary.org/aklug/archive/2011-05/0068.html
>
> I seem to remember there being another thread, where I complained about
> the fact that my rsync backup system was disrupted because their was one
> file in an original directory that had limited permissions. But I can't
> find it. I think in the end we decided that I either had to make sure
> that all my files were created with the correct permissions, or to run a
> chmod -R on the origin directory before running rsync.
>
> This thread my also be interesting, where we discussed how it is
> possible to "create" a file that you cannot delete by hard linking to a
> file owned by root:
>
> https://consortiumlibrary.org/aklug/archive/2010-11/0187.html

Right you are -- I'd forgotten about that. And thanks for the links --
they made a good re-read.

--
Bryan Medsker
bryanm@acsalaska.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Dec 31 02:23:21 2011

This archive was generated by hypermail 2.1.8 : Sat Dec 31 2011 - 02:23:21 AKST