hypothetical scenario question

Tony Hammitt tony at speedscript.com
Wed Jun 26 22:29:22 CDT 2002


Only ext2 and ext3 support the immutable bit, not reiserfs (or XFS AFAIK)

"Duston, Hal" wrote:
> 
> dattaway at attaway.net [mailto:dattaway at attaway.net] wrote:
> > chattr +i
> >
> > strategically placed in selected configuration directories and or
> > individual files, this one bit will prevent any change from
> > occuring.
> >
> > Except if that person happens to be root.  Here is what the
> > immutable bit does from chattr's man page:
> >
> >        A  file with the `i' attribute cannot be modified: it can-
> >        not be deleted or renamed, no link can be created to  this
> >        file  and  no  data  can  be written to the file. Only the
> >        superuser can set or clear this attribute.
> 
> Even root can't modify an immutable file.
> (Without removing the attribute.)
> 
> Hal
> 




More information about the Kclug mailing list