LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] chattr on directories

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell