From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,8964064f84a6fdf3,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-06-04 12:21:10 PST Newsgroups: comp.os.linux.announce Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ghost.dsi.unimi.it!batcomputer!cornell!bounce-bounce From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig) Subject: NFS and symlinks bug and workaround Message-ID: Followup-To: comp.os.linux.misc Keywords: NFS networking symbolic links group membership root bug Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig) Organization: University of Karlsruhe, Germany Date: Sat, 4 Jun 1994 18:53:19 GMT 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.