LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   General permission (https://www.linuxquestions.org/questions/linux-newbie-8/general-permission-850152/)

je jo ja 12-14-2010 09:04 AM

General permission
 
Hi All ,

I have created 2 users and changed their secondary group to grp1, then changed permission for a directory dir1 to 770(no permission for others) and group to grp1.

The both normal users are not able to access dir1. How is it possible to access that Dir using general permission (770).

Thanks Je.

Tinkster 12-14-2010 10:45 AM

Hi, welcome to LQ!

Quote:

I have created 2 users and changed their secondary group to grp1, then changed permission for a directory dir1 to 770(no permission for others) and group to grp1.

The both normal users are not able to access dir1. How is it possible to access that Dir using general permission (770).
And that depends on the permissions on the parent directory/directories.
Should any of those not be readable/accessible by grp1 the grp1 directory
won't be, either.



Cheers,
Tink

je jo ja 12-14-2010 11:07 AM

Hi Tink,


Thanks for your reply. think I made some mistake with the groups. Now its working in the same scenario.permissions for parent directory was OK. I didn't made much changes, now both users are permitted to access the directory with their group permission(770). Thanks a lot ...

je


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