Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Set specific group execute access
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
DaMightyWhightyMan
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2004
Posts: 116

PostPosted: Wed Sep 29, 2004 12:35 am    Post subject: Set specific group execute access Reply with quote

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


Joined: 19 May 2003
Posts: 276
Location: Minneapolis, MN, USA

PostPosted: Wed Sep 29, 2004 12:42 am    Post subject: Reply with quote

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


Joined: 19 May 2003
Posts: 276
Location: Minneapolis, MN, USA

PostPosted: Wed Sep 29, 2004 12:44 am    Post subject: Reply with quote

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
View user's profile Send private message
DaMightyWhightyMan
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2004
Posts: 116

PostPosted: Wed Sep 29, 2004 1:17 am    Post subject: Reply with quote

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
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