Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Group permissions
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
d_woods
n00b
n00b


Joined: 16 Oct 2004
Posts: 1

PostPosted: Sat Oct 16, 2004 3:27 pm    Post subject: Group permissions Reply with quote

Hi,

I have a directory (/usr/games) with permisions 750, and owned by group 'games'. I am a member of this group but cannot get access to this directory...

I have pasted some info, in case I'm missing something obvious here:

Code:

dwoods@darryl usr $ pwd
/usr

dwoods@darryl usr $ ll
total 156
drwxr-xr-x    7 root root   4096 Jun 13 15:10 X11R6
drwxr-xr-x    2 root root  32768 Oct 15 05:22 bin
lrwxrwxrwx    1 root root      9 Sep 25 13:50 doc -> share/doc
drwxr-x---    3 root games  4096 Oct 15 03:59 games
drwxr-xr-x    5 root root   4096 Apr 12  2004 i686-pc-linux-gnu
drwxr-xr-x  160 root root  16384 Oct 10 06:56 include
lrwxrwxrwx    1 root root     10 Sep 25 13:50 info -> share/info
drwxr-xr-x    4 root root   4096 Sep 25 17:00 kde
drwxr-xr-x   88 root root  49152 Oct 10 07:08 lib
drwxr-xr-x    3 root root   4096 Oct 10 05:17 libexec
drwxr-xr-x   12 root root   4096 Aug  6 11:37 local
drwx------    2 root root  16384 Sep 25 13:44 lost+found
lrwxrwxrwx    1 root root      9 Sep 25 13:54 man -> share/man
drwxr-xr-x  129 root root   4096 Oct  9 22:25 portage
drwxr-xr-x    3 root root   4096 Jun 25 03:26 qt
drwxr-xr-x    2 root root   4096 Oct 10 07:07 sbin
drwxr-xr-x  161 root root   4096 Oct 15 04:47 share
drwxr-xr-x    7 root root   4096 Oct 10 04:14 src
lrwxrwxrwx    1 root root     10 Sep 25 14:07 tmp -> ../var/tmp

dwoods@darryl usr $ groups dwoods
adm wheel audio games users

dwoods@darryl usr $ grep games /etc/group
games::35:dwoods
users::100:games

dwoods@darryl usr $ cd games
bash: cd: games: Permission denied

dwoods@darryl usr $


Does anyboy see what I'm missing here? If I change ownership of the games directory to root:users, I get access with no problems.

Thanks,
Darryl
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sat Oct 16, 2004 5:31 pm    Post subject: Reply with quote

Have you logged out and back into your system since adding the group games? The change in group will not take effect until you do. You can use the newgrp command to temporarily make the group change take effect in a bash shell, see man newgrp.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Sat Oct 16, 2004 8:47 pm    Post subject: Reply with quote

Moved from Portage & Programming.
_________________
Quis separabit? Quo animo?
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