View previous topic :: View next topic |
Author |
Message |
DaMightyWhightyMan Tux's lil' helper
Joined: 16 Feb 2004 Posts: 116
|
Posted: Wed Sep 29, 2004 12:35 am Post subject: Set specific group execute access |
|
|
what if i want a folder owned by user1 who is in group1 to have executable privs by group2, but only in this particular folder?
thanks |
|
Back to top |
|
|
patrickbores Apprentice
Joined: 19 May 2003 Posts: 276 Location: Minneapolis, MN, USA
|
Posted: Wed Sep 29, 2004 12:42 am Post subject: |
|
|
I'd make a third group, consisting of the union of the members of the other two groups.
HTH,
Patrick _________________ P.S. - this is what part of the alphabet would look like if Q and R were eliminated. |
|
Back to top |
|
|
patrickbores Apprentice
Joined: 19 May 2003 Posts: 276 Location: Minneapolis, MN, USA
|
Posted: Wed Sep 29, 2004 12:44 am Post subject: |
|
|
Wait- did you mean that the folder doesn't have to have group execute permissions for group 1?
Then just:
chgrp group2 directory_name
chmod g+x directory_name
HTH,
Patrick _________________ P.S. - this is what part of the alphabet would look like if Q and R were eliminated. |
|
Back to top |
|
|
DaMightyWhightyMan Tux's lil' helper
Joined: 16 Feb 2004 Posts: 116
|
Posted: Wed Sep 29, 2004 1:17 am Post subject: |
|
|
I don't want the folder to have group exe permissions, i just want to folder have rwx privs for user1 and rx perimissions for the apache user
so i think just changing the folder group to apache should work |
|
Back to top |
|
|
|