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