home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / sysadmin / 7657 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  33 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!scifi!acheron!philabs!linus!agate!stanford.edu!nntp.Stanford.EDU!news
  3. From: gcolello@biosphere.Stanford.EDU (Greg Colello)
  4. Subject: Setuid Permission Not Copied By FileViewer?
  5. Message-ID: <1993Jan28.210939.6314@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Organization: DSO, Stanford University
  8. Date: Thu, 28 Jan 93 21:09:39 GMT
  9. Lines: 22
  10.  
  11. I'm probably the only one in the Next sys admin world who didn't know  
  12. this, but I found out the hard way that the FileViewer apparently strips  
  13. the setuid permission when copying files even though it retains all other  
  14. parts of the permissions matrix. The "hard way" I mentioned involved an  
  15. attempt to restore /NextApps and /NextAdmin from the NS3.0 CDROM using the  
  16. FileViewer (while logged onto root). Everything was copied exactly except  
  17. the setuid permissions (there are 11 such files in /NextApps and  
  18. /NextAdmin). This "stripping of setuid" occurs even if you copy a file  
  19. from one part of your own account to another part.
  20.  
  21. Ok. Now I know. I should have used cp -rp to restore the directories. Too  
  22. bad. I've gotten real fond of using the GUI to do "Unix stuff".
  23.  
  24. Is there any way to make the FileViewer copy the setuid permissions  
  25. faithfully (like a dwrite or something)? I checked as much documentation  
  26. as I could and found no mention of this.
  27.  
  28. -----------------------------------------------------------------
  29. Greg Colello
  30. Carnegie Institution, Department of Plant Biology
  31. Stanford University
  32. gcolello@biosphere.stanford.edu (NeXT mail OK)
  33.