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/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!