home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / admin / 7 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.9 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!yale.edu!qt.cs.utexas.edu!news.Brown.EDU!sgf@cfm.brown.edu
  2. From: sgf@cfm.brown.edu (Sam Fulcomer)
  3. Newsgroups: comp.sys.sgi.admin
  4. Subject: Re: tar, nfs, and restricted_chown
  5. Date: 14 Dec 1992 19:04:43 GMT
  6. Organization: Brown University Center for Fluid Mechanics
  7. Lines: 29
  8. Sender: sgf@eddy (Sam Fulcomer)
  9. Distribution: world
  10. Message-ID: <1gilsbINNhi9@cat.cis.Brown.EDU>
  11. References: <Bz882q.L2.2@cs.cmu.edu> <1ggu1sINNp8q@guinan.cs.purdue.edu>
  12. NNTP-Posting-Host: eddy.cfm.brown.edu
  13.  
  14. In article <1ggu1sINNp8q@guinan.cs.purdue.edu>, tzheng@cs.purdue.edu (Tom Zheng) writes:
  15. |> 
  16. |> In article <Bz882q.L2.2@cs.cmu.edu>, cline+@cs.cmu.edu (Kenneth Cline) writes:
  17. |> |> A user logged into a Sun4 was unable to extract tarred files (created
  18. |> |> by another user) to a disk mounted on our SGI machine.  Apparently,
  19. |> |> SunOs tar chowns the new file to the old user before reading its
  20. |> |> contents, and subsequent operations fail due to ownership conflict.
  21. |> |> 
  22. |> |> The fix was to build a new kernel for the SGI with restricted_chown
  23. |> |> set to 1.  Now, "tar x..." works fine, but I would like to know if
  24. |> |> this is a bug in SunOs tar (maybe, calling chown prematurely), an SGI
  25. |> |> bug (which doesn't seem as likely), or simply conflicting features.
  26. |> |> 
  27. |> ...
  28. |> source. I would be very interested to know who should be blamed for 
  29. |> the problem, though.
  30. |> 
  31.  
  32.  
  33. Blame tar. It (obviously) tries to chown to the other user and doesn't complain
  34. if the chown fails. The Sun fs code restricts chown. The default SGI code doesn't.
  35. Sun tar should behave like the SGI tar and only chown if invoked by the 
  36. superuser.
  37.  
  38. Now why anyone would want an unrestricted chown is another question entirely.
  39.  
  40. -- 
  41. _/**/Sam_Fulcomer    sgf@cfm.brown.edu    What, me panic: uba crazy
  42. Brown University  Center for Fluid Mechanics, Turbulence  and Computation
  43.