View previous topic :: View next topic |
Author |
Message |
damoncf Guru
Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Sat Mar 11, 2006 10:34 pm Post subject: fstab like mount options for folders |
|
|
I am looking through and following the Security Documentation on the main Gentoo site. It was talking about Mounting Partitions and the different options one can give each partition such as noexec, nosuid, and nodev. I was wondering if it was possible to give these attributes to folders recursivley as well as to anything that they will ever contain (not sure if that is included in recursive.) If base linux cannot handle it, is there a program that I could install that could allow me to do this
Thx
Damon |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sun Mar 12, 2006 5:50 am Post subject: |
|
|
Hi,
Maybe I don't get the question right, but...
The mount option is recursivley applyed to the filesystem.
For example if you make a mount-point for /home on /dev/hdaX and
mount it with noexec. All users home dirs and sub folders are noexec.
For more info on access control and file systems.
http://gentoo-wiki.com/HOWTO_Use_filesystem_ACLs
Regards |
|
Back to top |
|
|
damoncf Guru
Joined: 05 Oct 2004 Posts: 388 Location: US OH
|
Posted: Mon Mar 13, 2006 3:07 am Post subject: |
|
|
I am looking at using some of the options that are availible for mount points on folders themselves. I have my system set up so that I only have three mounts them being my swap boot and /. I want to add some of the security that I have mentioned earlier on individual folders rather than using them on mount points.
Hope that explains better.
Damon |
|
Back to top |
|
|
|