home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft
- From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
- Newsgroups: comp.unix.aix
- Subject: Re: setgid permission on directories
- Message-ID: <1992Sep1.183101.27143@mintaka.lcs.mit.edu>
- Date: 1 Sep 92 18:31:01 GMT
- Sender: news@mintaka.lcs.mit.edu
- Organization: /etc/organization
- Lines: 27
- In-Reply-To: <1992Aug31.171507.10029@jarvis.csri.toronto.edu>
- To: carol@phoenix.oise.on.ca
-
-
- [Also posted.]
-
- In article <1992Aug31.171507.10029@jarvis.csri.toronto.edu> you write:
- >
- > I just transferred a bunch of files from an RT using
- >
- > remsh remote_sys "tar cf - /home" | tar xf -
- >
- > and all the directories were restored with permission rwxr-sr-x. Can
- > anyone tell me why this happened?
-
- `setgid' permission on directories is propagated to subdirectories when
- they are created.
-
- > More importantly now, does setgid permission for a directory actually
- > do anything?
-
- Any file created in a `setgid' directory will by default have the same
- group as the directory itself.
-
- --
- \ Charles Hannum, mycroft@ai.mit.edu
- /\ White heterosexual atheist male (WHAM) pride!
- --
- \ Charles Hannum, mycroft@ai.mit.edu
- /\ White heterosexual atheist male (WHAM) pride!
-