home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 9151 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.2 KB  |  67 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!wotan.compaq.com!twisto.eng.hou.compaq.com!mach.eng.hou.compaq.com!mcb
  3. From: mcb@mach.eng.hou.compaq.com (Mike Busby)
  4. Subject: NFS permission problems...
  5. Message-ID: <mcb.722208308@mach>
  6. Sender: news@twisto.eng.hou.compaq.com (Netnews Account)
  7. Organization: Compaq Computer Corp.
  8. Date: Thu, 19 Nov 1992 21:25:08 GMT
  9. Lines: 56
  10.  
  11. Scenario:
  12.  
  13. 386BSD server, 386BSD client.
  14.  
  15. 386BSD running version 0.1 with latest patch kit.
  16.  
  17. Problem:
  18.  
  19. client mounts /home on server to /mnt on client, rw.
  20.  
  21. All directories in /home on server, including /home
  22. are mode 755, all files are mode 644.
  23.  
  24. All users in /home are in the same group in /etc/group.
  25.  
  26. Both client and server have the same /etc/passwd and /etc/group entries
  27. for users.
  28.  
  29. /etc/exports on server has:
  30.  
  31. /home
  32.  
  33. On client, cd into /mnt/user_home_directory (not owned by user executing
  34. commands).  ls works ok, cd works ok.
  35.  
  36. Try to cat or more a file, get the following error:
  37.  
  38. command_name: Permission denied.
  39.  
  40. On server, notice that one of the nfsd daemons is now owned by the
  41. user on the client side that tried to access a file in
  42. /home/user_home_directory.  I don't know if this is significant or not.
  43.  
  44. On client, cd into /home/my_own_home_directory.
  45. ls works ok, cd works ok.  cat or more a file, everything is fine.
  46.  
  47. We cannot access files other than the ones we own even if the permissions
  48. are set to 666 on the files.  We always get Permission denied.
  49.  
  50. We also see this problem if we have a Sun Sparc machine running SunOS 4.1.X
  51. as the client and a 386BSD configured as above as the server.  Running
  52. the Sun as the server and the 386BSD box as the client does not exhibit
  53. the problem.
  54.  
  55. Any help or suggestions regarding this problem would be appreciated.
  56.  
  57. Thanks,
  58.  
  59.  
  60. Michael C. Busby - System Engineer, Sr.
  61. ----------------------------------------------------------------------
  62. Compaq Computer Corporation        |  Internet: mcb@compaq.com        
  63. P.O. Box 692000 m/s 050701         |  Uunet:    uunet!cpqhou!michaelb 
  64. Houston, Texas, USA 77269-2000     |  Phone:    713-374-5638          
  65. ----------------------------------------------------------------------
  66. "Armadillos....  Texas speed bumps."    Views/opinions are mine alone.
  67.