home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!news.mr.med.ge.com!salamander!hinz
- From: hinz@picard.med.ge.com (David Hinz Mfg 4-6987)
- Subject: Re: How can I allow access to a subdirectory without risking other files?
- Message-ID: <1992Aug27.110504.9820@mr.med.ge.com>
- Sender: news@mr.med.ge.com
- Nntp-Posting-Host: salamander
- Organization: GE Medical Systems, Magnetic Resonance
- X-Newsreader: Tin 1.1 PL5
- References: <92Aug26.165308.27634@acs.ucalgary.ca>
- Date: Thu, 27 Aug 92 11:05:04 GMT
- Lines: 27
-
- I W Scott Barker (iwsbarke@acs.ucalgary.ca) wrote:
- : 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.
- :
- How about creating a symbolic link to a shared directory that everyone has
- permissions in? That way, everyone has a subdirectory called 'shared' which
- they can do stuff to/in, and you don't have to worry about your own stuff.
-
- Maybe I didn't understand what you're asking, though....
-
- --
-
- Dave Hinz - Opinions expressed are mine, not my employer's. Obviously.
- hinzd@picard.med.ge.com
-