thanks for the reply.
chattr works wonders on an ext file system, it is what i spoke of
actually.
issuing "chattr +i foo" would cause foo to be 'unlinkable' until you
issued a "chattr -i foo". i believe this command is only for ext file
systems, but i could be wrong.
the man page:
[root@nova sdc]# man -k chattr
chattr (1) - change file attributes on a Linux second extended file
system
[root@nova sdc]# chattr +i foo/
chattr: Inappropriate ioctl for device while reading flags on test/
[root@nova sdc]# mount |grep sdc
/dev/sdc on /export/sdc type xfs (rw)
i am looking into the ACL bits now, i was thinking perhaps there was a
similar command.
thanks Llama,
greg
"Net Llama!" wrote:
>
> On Thu, 20 Nov 2003, Greg Whynott wrote:
> >
> > We converted all our file systems to XFS. On the ext3 file systems we
> > would set the immutable bit on some dirs. Is there something similar I
> > can set on a directory within an XFS filesystem?
> >
> > We don't want folks with root to be able to delete dirs and files
> > without a few extra steps taken.
>
> Would chattr work?
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Lonni J Friedman netllama@xxxxxxxxxxxxx
> Linux Step-by-step & TyGeMo http://netllama.ipfox.com
--
UNIX is user friendly, it's just selective about who its friends are.
|