Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab like mount options for folders
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Sat Mar 11, 2006 10:34 pm    Post subject: fstab like mount options for folders Reply with quote

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 :D
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Sun Mar 12, 2006 5:50 am    Post subject: Reply with quote

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
View user's profile Send private message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Mon Mar 13, 2006 3:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum