Subject: NFS perms prob? "pwd: Permission denied"
To: None <netbsd-help@NetBSD.ORG>
From: Bruce Walker <bmw@visgen.com>
List: netbsd-help
Date: 06/19/1997 14:21:45
I've been happily puzzling this one out for a few days, but it's
time to see if I can buy a clue.

The problem in a nutshell is as follows.  All my user home dirs
are NFS-mounted onto a NetBSD 1.2 box from a server.  If a user
who is *not* a member of group wheel logs in, he can't pwd(1).
All attempts to stat a dir on the NFS-mounted disk fails.  So for
example,

  bmw@ampere$ rlogin braun -l joeuser
  Password:
  Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
          The Regents of the University of California.   All rights reserved.
  
  NetBSD 1.2 (BRAUN) #3: Mon Mar 31 13:37:30 EST 1997
  
  Welcome to NetBSD!
  
  csh: Permission denied
  csh: Trying to start from "/home/joeuser"
  braun> pwd
  pwd: Permission denied
  braun> id
  uid=1000(joeuser) gid=400(others) groups=400(others), 3312(vgimktg)
  braun> 


The error messages are where csh tries to do a getcwd(3) immediately
after starting up.  Same thing happens to bash.

This only happens on the NetBSD 1.2 systems, but does not happen
on the NetBSD 1.1 systems.

The fstab entry is:

  toaster:/home /disk/toaster/home nfs rw,-i,-b 0 0

The server is actually a Network Appliance F330 and /home is a 32G drive.

Does this behaviour ring a bell with anyone?

Thanks!

-bmw