[nzlug] OpenSuSE 10.1: Weird permissions issue

Raimund Eimann raimund at cs.auckland.ac.nz
Wed Nov 22 11:18:03 NZDT 2006


Hi,

I'm running a NIS server that distributes group memberships across the LAN. 
When I want to change into a directory that is exclusively permitted to a 
specific group provided by the server, I get permission denied, even as a 
group member:

raimund at calypso:~> l -d /work/nld
drwxr-x--- 14 nld nld 4096 2006-11-22 11:02 /work/nld/

raimund at calypso:~> id raimund
uid=1000(raimund) gid=100(users) groups=100(users),1014(nld),...

The group in question is 1014(nld).

It should be possible for me to change into /work/nld, however:

raimund at calypso:~> cd /work/nld
-bash: cd: /work/nld: Permission denied

Once I sg explicitly, it works:

raimund at calypso:~> sg nld
raimund at calypso:~> cd /work/nld/
raimund at calypso:/work/nld>                

NB: The sg does not ask any passwords, probably because it notices I'm in the 
requested group anyway.

This happens on a openSuSE 10.1 client box with a openSuSE 10.0 NIS server.

On another box running openSuSE 10.2 Beta2 I can change into the directory 
without sg'ing first. The same is true for the server itself, therefore I 
suspect this is an issue with openSuSE 10.1.

Did anyone here observe this as well? Solutions?

Cheers,
Raimund


Today's wisdom:
Lottery: A tax on people who are bad at math.




More information about the NZLUG mailing list