home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16662 < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.1 KB  |  42 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!wupost!uwm.edu!linac!sunova!bottom.ssc.gov!lroberts
  3. From: lroberts@bottom.ssc.gov (Lee Roberts)
  4. Subject: Re: Indigo as server for a RS600 client - was: NFS links from RS6000 server to SGI client
  5. Message-ID: <1992Nov19.230854.5523@sunova.ssc.gov>
  6. Sender: usenet@sunova.ssc.gov (News Admin)
  7. Nntp-Posting-Host: bottom
  8. Organization: Superconducting Super Collider Laboratory
  9. References: <34067@adm.brl.mil> <1992Nov14.021925.14641@ultra.com> <JOOST.92Nov19220002@ori.cadlab.de>
  10. Date: Thu, 19 Nov 1992 23:08:54 GMT
  11. Lines: 29
  12.  
  13. At the SSC Laboratory, we have 4 4D/360S fileservers providing NFS service to
  14. 30 SPARCstation 2 and 32 HP 9000/720 workstations.  We encountered problems
  15. with tar between the Suns (NFS client) and SGI (NFS server).
  16.  
  17. We solved the problem by changing the restricted_chown variable in the IRIX
  18. kernel.  According to Chapter 3.3 of the IRIX 4.0.1 release notes for "eoe":
  19.  
  20.           o The restricted_chown variable in
  21.             /usr/sysgen/master.d/kernel allows the administrator to
  22.             choose between system V and BSD chown(1) behavior.
  23.  
  24.             If this variable is zero, System V behavior is used,
  25.             allowing any user to give away files.  If the variable
  26.             is non-zero, BSD behavior is used, allowing only the
  27.             superuser to give away files (POSIX compliance requires
  28.             the BSD behavior).
  29.  
  30. Apparently, Sun's tar performs a chown on the extracted file before writing
  31. the file contents.  On a BSD system such as the Sun, this chown fails for the
  32. non-superuser and uid/gid match the user.  When writing to the SGI NFS server,
  33. the chown command succeeds (it's being performed on a System V system) and
  34. changes the ownership to match the uid/gid in the tar archive.   Since the
  35. file ownership has changed, tar cannot write the contents.  However, when the
  36. SGI NFS server uses BSD chown behavior, the chown fails and the uid/gid remain
  37. that of the user.
  38.  
  39. I suspect the same behavior is happening between AIX and SGI.
  40.  
  41.                                                         -- Lee Roberts
  42.