[ILUG] chattr on directories
Niall O Broin
niall at linux.ie
Sat Jun 2 22:09:00 IST 2007
On 2 Jun 2007, at 21:05, Conor Daly wrote:
> 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?
The thought DID occur. However, this is not really needed, but rather is
something I would ike to have. But I wouldn't like it badly enough to
have to deal with the whole SELinux ball of wax.
Niall
More information about the ILUG
mailing list