[aklug] Re: Linux/BSD: Why do directories need to be empty?

From: Jeremy Austin <jhaustin@gmail.com>
Date: Sat May 14 2011 - 15:56:14 AKDT

On Sat, May 14, 2011 at 3:51 PM, Christopher Howard <
christopher.howard@frigidcode.com> wrote:

>
> This was kind of problematic for me the other day because I had a script
> that was supposed to "rm -rf" a certain backup directory, but it
> actually wasn't doing it completely because there were some
> subdirectories that didn't have their write permission bits set.

Maybe this is exactly the reason.

If I am the owner of a directory, and you the owner of a subdirectory, you
might be quite put out if I deleted your files by deleting the parent
directory.

jermudgeon

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat May 14 15:56:42 2011

This archive was generated by hypermail 2.1.8 : Sat May 14 2011 - 15:56:42 AKDT