View previous topic :: View next topic |
Author |
Message |
d_woods n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Oct 2004 Posts: 1
|
Posted: Sat Oct 16, 2004 3:27 pm Post subject: Group permissions |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jdgill0 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/21334652964256d54fd1047.jpg)
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sat Oct 16, 2004 5:31 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Sat Oct 16, 2004 8:47 pm Post subject: |
|
|
Moved from Portage & Programming. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|