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

  1. Path: sparky!uunet!olivea!decwrl!csus.edu!csusac!cdsac!scotte
  2. From: scotte@cdsac.uucp (L. Scott Emmons)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: setgid permission on directories
  5. Message-ID: <Sep01.154912.18852@cdsac.uucp>
  6. Date: 1 Sep 92 15:49:11 GMT
  7. References: <1992Aug31.171507.10029@jarvis.csri.toronto.edu>
  8. Organization: CableData (U.S. Computer Services), Sacramento, CA
  9. Lines: 27
  10. NntpPostingHost: cdsac
  11.  
  12. In article <1992Aug31.171507.10029@jarvis.csri.toronto.edu> carol@phoenix.oise.on.ca (Carol Broderick) writes:
  13. > [...] Can anyone
  14. >tell me why this happened? More importantly now, does setgid permission
  15. >for a directory actually do anything?  Please email and I will summarize.
  16.  
  17. $ man 3 chmod
  18.  
  19. [ ... ]
  20.  
  21.   S_ISGID    Enables the setgid attribute for an executable file.  A
  22.   process executing this program acquires the access rights  of the
  23.   group of the file.
  24.   
  25.   Enables the group inheritance attribute for  a  directory.  Files
  26.   created  in this directory have a group equal to the group of the
  27.   directory.
  28.  
  29. [ ... ]
  30.  
  31. This probably happened because the directory in which you placed the files
  32. is set SGID.
  33.  
  34. Hope this helps...
  35.  
  36.                L. Scott Emmons
  37.               CableData  Research Center
  38.              csusac.csus.edu!cdsac!scotte
  39.