home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9268 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.2 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft
  2. From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: setgid permission on directories
  5. Message-ID: <1992Sep1.183101.27143@mintaka.lcs.mit.edu>
  6. Date: 1 Sep 92 18:31:01 GMT
  7. Sender: news@mintaka.lcs.mit.edu
  8. Organization: /etc/organization
  9. Lines: 27
  10. In-Reply-To: <1992Aug31.171507.10029@jarvis.csri.toronto.edu>
  11. To: carol@phoenix.oise.on.ca
  12.  
  13.  
  14. [Also posted.]
  15.  
  16. In article <1992Aug31.171507.10029@jarvis.csri.toronto.edu> you write:
  17. >
  18. > I just transferred a bunch of files from an RT using 
  19. >
  20. > remsh remote_sys "tar cf - /home" | tar xf -
  21. >
  22. > and all the directories were restored with permission rwxr-sr-x.  Can
  23. > anyone tell me why this happened?
  24.  
  25. `setgid' permission on directories is propagated to subdirectories when
  26. they are created.
  27.  
  28. > More importantly now, does setgid permission for a directory actually
  29. > do anything?
  30.  
  31. Any file created in a `setgid' directory will by default have the same
  32. group as the directory itself.
  33.  
  34. -- 
  35.  \   Charles Hannum, mycroft@ai.mit.edu
  36.  /\  White heterosexual atheist male (WHAM) pride!
  37. -- 
  38.  \   Charles Hannum, mycroft@ai.mit.edu
  39.  /\  White heterosexual atheist male (WHAM) pride!
  40.