* NFS and symlinks bug and workaround
@ 1994-06-04 18:53 Thomas Koenig
0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 1994-06-04 18:53 UTC (permalink / raw)
There is a weird problem which may bite you if you try to set
up a Linux box either as NFS client or NFS server: Under
certain circumstances, you get "permission denied" errors
on all symlinks.
Example:
Machine server exports its /usr/bin readonly to client, in server's
/etc/exports, there is the line:
/usr/bin client(ro)
Say, /usr/bin/vi is a symlink to /usr/bin/elvis on the server:
server:/usr/bin# ls -l vi elvis
-rwxr-xr-x 1 root bin 103428 Oct 17 1993 elvis*
lrwxrwxrwx 1 root root 5 May 5 01:55 vi -> elvis*
Then, when you try the same thing on the client, you get a "permission
denied" error:
client:/usr/bin# ls -l vi
ls: vi: Permission denied
lrwxrwxrwx 1 root root 1024 May 4 23:55 vi
A friend told me of a workaround: remove root's membership from all
supplementary groups on both client and server, (i.e. delete all
occurences of "root" after the last colon in /etc/group) and restart
your networking stuff.
It works, but don't ask me why :-)
--
Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.
--
Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
Be sure to include Keywords: and a short description of your software.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-06-04 18:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-04 18:53 NFS and symlinks bug and workaround Thomas Koenig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox