An invincible file
Tyler Aviss
tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Mar 18 20:04:45 UTC 2011
The rest of the docs in chattr specifically mention flags for
directories, etc, and certainly some flags (+x) are treated
differently if applied upon files VS directories. Thus, I had assumed
that immutable did not apply to directories.
On Fri, Mar 18, 2011 at 12:29 PM, Lennart Sorensen
<lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
> On Fri, Mar 18, 2011 at 11:11:52AM -0700, Tyler Aviss wrote:
>> Got it... the directory itself was somehow immutable. I didn't even
>> realize this was possible, as chattr(1) only mentions files having the
>> immutable attribute.
>
> Which part of "everything is a file" in the unix philosophy did you miss? :)
>
> Makes sense actually. To delete a file or rename it is a change to the
> contents of the directory file. Hadn't thought of it though.
>
> --
> Len Sorensen
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
--
Tyler Aviss
Systems Support
LPIC/LPIC-2/DCTS/CLA
"Computers don't make mistakes. They can, however, execute those
provided to them very quickly"
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list