[nzlug] OpenSuSE 10.1: Weird permissions issue
Raimund Eimann
raimund at cs.auckland.ac.nz
Wed Nov 22 21:04:26 NZDT 2006
On Wednesday 22 November 2006 18:52, Volker Kuhlmann wrote:
> > 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),...
> >
> > raimund at calypso:~> cd /work/nld
> > -bash: cd: /work/nld: Permission denied
>
> You will need to have execute access for /work as well.
That all fine (see my previous post)
> What filesystem is /work/nld on? If it is network-mounted, it may have
> its own permission rules on the server.
>
> df -T /work/nld
It's an NFS mount:
raimund at fides:~> df -T /work/nld
Filesystem Type 1K-blocks Used Available Use% Mounted on
nfs.bb.xyz.org:/work
nfs 104964896 80818144 24146752 77% /work
> Hmm. Does bash do some funny superfluous checks? Any difference if you
> use tcsh?
No, tcsh exhibits the same behaviour.
> The man page for sg says (apart from implying that you need newgrp
> instead of sg) that it launches a new shell. Perhaps the shell is
> running with a different group ownership as that displayed by id above?
Yes, that's the only difference I can see.
raimund at fides:~> ps -eo "%p %y %x %c %g" |grep $$
7919 pts/1 00:00:00 bash users
raimund at fides:~> sg mldonkey
raimund at fides:~> ps -eo "%p %y %x %c %g" |grep $$
8041 pts/1 00:00:00 bash mldonkey
Are there any global shell settings somewhere in the system that may be broken
in 10.1? BTW: I can't change into the /work/nld directory with Konqueror as
well (probably because Konqueror is running with my default group membership:
users). Again, on 10.2 Beta2 it works just fine.
Cheers,
Taimund
Today's wisdom:
Buy a Pentium 586/90 so you can reboot faster.
More information about the NZLUG
mailing list