home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!alberta!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!iwsbarke
- From: iwsbarke@acs.ucalgary.ca (I W Scott Barker)
- Subject: Re: How can I allow access to a subdirectory without risking other files?
- Sender: news@acs.ucalgary.ca (USENET News System)
- Message-ID: <92Aug26.165308.27634@acs.ucalgary.ca>
- Date: Wed, 26 Aug 92 16:53:08 GMT
- Reply-To: barker@enel.ucalgary.ca
- References: <92Aug25.200814.1577@acs.ucalgary.ca>
- Nntp-Posting-Host: acs5.acs.ucalgary.ca
- Organization: The University of Calgary, Alberta, Canada
- X-Newsreader: Tin 1.1 PL5
- Lines: 22
-
- It seems that my original post wasn't clear enough, so I'll try to rephrase:
-
- I know how to give group/other access to a subdirectory without risking my
- other files, however, I want people to be able to read/write to ANY file in
- the subdirectory. That includes files put there by other people. The only way
- I know of to do this is to make sure that everyone has their umask set to 000
- when they are working in that subdirectory. I am looking for a better
- solution, where I don't have to rely on them setting their umask correctly.
- The only way I know of to do that, is to set their effective user id to me
- when they are in that subdirectory, manipulating files. What I need to know
- is how to do that safely. Or, if anyone has another suggestion on how to do
- this, that would be good too.
-
- Then again, it may just be impossible. If anyone can help, I would appreciate
- it.
-
- --
- Scott Barker
- barker@enel.ucalgary.ca
-
- "Remember, wherever you go, there you are."
- - Peter Weller, The Adventures of Buckaroo Banzai Across the 8th Dimension!
-