An invincible file

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Mar 18 19:29:20 UTC 2011


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





More information about the Legacy mailing list