Quantcast
Viewing all articles
Browse latest Browse all 17812

Permissions - granularity

Alright, so... I've never had to do anything complex with permissions in Linux. Just the usual chmod/chown at different levels (never played w/ ACL or sticky bit).  

What I'm trying to accomplish is I have a directory (/home/ftpusers) that user ftpadmin accesses. It contains a bunch of home directories for other users, and this particular user has r-x access to all of the subdirectories via its group. Is there a way to make it so that ftpadmin can delete the contents of the folder, but not the folder itself? So...

 

read/access: /home/ftpusers/user1  

full perms: /home/ftpusers/user1/*

 

I know I can do this with recursively to existing structures, but I would like this to be automatically inherited when a user creates a new file in their homedir.  

Forgive me for the odious comparison to Windows :) , but I'm accustomed to being able to set complex perms based on object type and inheritance rules. I'm assuming there is something similar to be found here.  

Any insight would be appreciated!

submitted by _Ulfhednar
[link][11 comments]

Viewing all articles
Browse latest Browse all 17812

Trending Articles