[ILUG] chattr on directories
Conor Daly
conor.daly_ilug at cod.homelinux.org
Sat Jun 2 21:05:12 IST 2007
On Sat, Jun 02, 2007 at 01:05:31PM +0100 or so it is rumoured hereabouts,
Niall O Broin thought:
> I have some directories whose permissions I would like to set in
> stone. The root directories are owned by root, and the perms are 701,
> so they're not exactly permissive, but nonetheless I would like root
> to not be able to change them with a simple chmod, really to provide
> an additional level of comfort for a particular use.
>
> I though chattr +i would be my friend but it is not and I suspect
> this is because I'd need to chattr the containing directory, or even
> the root.
>
> Am I barking up the wrong tree here? Is what I want possible?
Um, would this be the sort of thing selinux would be good at?
Conor (who's still afraid of selinux...)
--
Conor Daly <conor.daly at cod.homelinux.org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++
------END GEEK CODE BLOCK------
http://www.geekcode.com/ http://www.ebb.org/ungeek/
More information about the ILUG
mailing list