*BSD News Article 7949


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!swrinde!cs.utexas.edu!wotan.compaq.com!twisto.eng.hou.compaq.com!mach.eng.hou.compaq.com!mcb
From: mcb@mach.eng.hou.compaq.com (Mike Busby)
Subject: NFS permission problems...
Message-ID: <mcb.722208308@mach>
Sender: news@twisto.eng.hou.compaq.com (Netnews Account)
Organization: Compaq Computer Corp.
Date: Thu, 19 Nov 1992 21:25:08 GMT
Lines: 56

Scenario:

386BSD server, 386BSD client.

386BSD running version 0.1 with latest patch kit.

Problem:

client mounts /home on server to /mnt on client, rw.

All directories in /home on server, including /home
are mode 755, all files are mode 644.

All users in /home are in the same group in /etc/group.

Both client and server have the same /etc/passwd and /etc/group entries
for users.

/etc/exports on server has:

/home

On client, cd into /mnt/user_home_directory (not owned by user executing
commands).  ls works ok, cd works ok.

Try to cat or more a file, get the following error:

command_name: Permission denied.

On server, notice that one of the nfsd daemons is now owned by the
user on the client side that tried to access a file in
/home/user_home_directory.  I don't know if this is significant or not.

On client, cd into /home/my_own_home_directory.
ls works ok, cd works ok.  cat or more a file, everything is fine.

We cannot access files other than the ones we own even if the permissions
are set to 666 on the files.  We always get Permission denied.

We also see this problem if we have a Sun Sparc machine running SunOS 4.1.X
as the client and a 386BSD configured as above as the server.  Running
the Sun as the server and the 386BSD box as the client does not exhibit
the problem.

Any help or suggestions regarding this problem would be appreciated.

Thanks,


Michael C. Busby - System Engineer, Sr.
----------------------------------------------------------------------
Compaq Computer Corporation        |  Internet: mcb@compaq.com        
P.O. Box 692000 m/s 050701         |  Uunet:    uunet!cpqhou!michaelb 
Houston, Texas, USA 77269-2000     |  Phone:    713-374-5638          
----------------------------------------------------------------------
"Armadillos....  Texas speed bumps."    Views/opinions are mine alone.