LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   File System / Permission Issue (https://www.linuxquestions.org/questions/linux-security-4/file-system-permission-issue-363565/)

anand_kt 09-15-2005 07:20 AM

File System / Permission Issue
 
I have a question...

I have a about 10 folders to which i want to grant/deny access to several users. I know I can do this using group permissions. But I have a constraint which prevents me from using groups in this setup...

So, is there a way how I can assign/unassign permissions based on USERS only. like how we do it in Windows World by using the Security tab and adding users to which we need to grant/deny permissions...

pddm 09-15-2005 07:32 AM

you could chmod the folder so that others but the owner and the group can access the files.

anand_kt 09-15-2005 09:25 AM

thanks for the reply.
but i have 100 users who need diff access rights to ONE FOLDER, so just USER RIGHTS and GROUPS RIGHTS will not help.

anand_kt 09-15-2005 09:28 AM

Ok, i got something interesting here...

Linux Server with NFS v3 will grant/deny access rights to NFS clients based on the AUX GID's of the user.

But, a Solaris NFS v3 server takes in to consideration only the PRI GID on the user and ignores whatever rights he has been granted/denied based on his AUX GIDs

any idea on how to correct this?

theYinYeti 09-15-2005 09:50 AM

I think what you need is ACL, which is supported as an option by most filesystems, provided your kernel was compiled with the appropriate modules enabled.

However, my experience tells me that permissions like this quickly become an unmanageable mess, and actually most administrators are even too lazy to correctly handle unix-type (so much simpler) rights.

Yves.

Matir 09-15-2005 01:11 PM

There are a few useful cases for ACLs, and this may well be one of them.


All times are GMT -5. The time now is 06:38 PM.