home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10427 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!news.mr.med.ge.com!salamander!hinz
  3. From: hinz@picard.med.ge.com (David Hinz Mfg 4-6987)
  4. Subject: Re: How can I allow access to a subdirectory without risking other files?
  5. Message-ID: <1992Aug27.110504.9820@mr.med.ge.com>
  6. Sender: news@mr.med.ge.com
  7. Nntp-Posting-Host: salamander
  8. Organization: GE Medical Systems, Magnetic Resonance
  9. X-Newsreader: Tin 1.1 PL5
  10. References: <92Aug26.165308.27634@acs.ucalgary.ca>
  11. Date: Thu, 27 Aug 92 11:05:04 GMT
  12. Lines: 27
  13.  
  14. I W Scott Barker (iwsbarke@acs.ucalgary.ca) wrote:
  15. : It seems that my original post wasn't clear enough, so I'll try to rephrase:
  16. : I know how to give group/other access to a subdirectory without risking my
  17. : other files, however, I want people to be able to read/write to ANY file in
  18. : the subdirectory. That includes files put there by other people. The only way
  19. : I know of to do this is to make sure that everyone has their umask set to 000
  20. : when they are working in that subdirectory. I am looking for a better
  21. : solution, where I don't have to rely on them setting their umask correctly.
  22. : The only way I know of to do that, is to set their effective user id to me
  23. : when they are in that subdirectory, manipulating files. What I need to know 
  24. : is how to do that safely. Or, if anyone has another suggestion on how to do
  25. : this, that would be good too.
  26. : Then again, it may just be impossible. If anyone can help, I would appreciate
  27. : it.
  28. How about creating a symbolic link to a shared directory that everyone has
  29. permissions in?  That way, everyone has a subdirectory called 'shared' which
  30. they can do stuff to/in, and you don't have to worry about your own stuff.
  31.  
  32. Maybe I didn't understand what you're asking, though....
  33.  
  34. --
  35.  
  36. Dave Hinz  -  Opinions expressed are mine, not my employer's.  Obviously.
  37. hinzd@picard.med.ge.com
  38.