home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10728 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.5 KB  |  34 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mcsun!sun4nl!utrcu1!infnews!ahoekstr
  3. From: ahoekstr@cs.utwente.nl (Andre Hoekstra)
  4. Subject: Re: How can I allow access to a subdirectory without risking other files?
  5. Message-ID: <1992Sep4.125822.7243@cs.utwente.nl>
  6. Sender: ahoekstr@cs.utwente.nl
  7. Nntp-Posting-Host: waal
  8. Organization: University of Twente, Dept. of Computer Science
  9. Date: Fri, 4 Sep 1992 12:58:22 GMT
  10. Lines: 22
  11.  
  12. In article <Btq39I.1on@chinet.chi.il.us> les@chinet.chi.il.us (Leslie Mikesell) writes:
  13. >In article <92Aug26.165308.27634@acs.ucalgary.ca> barker@enel.ucalgary.ca writes:
  14. >>I know how to give group/other access to a subdirectory without risking my
  15. >>other files, however, I want people to be able to read/write to ANY file in
  16. >>the subdirectory. That includes files put there by other people.  The only way
  17. >>I know of to do this is to make sure that everyone has their umask set to 000
  18. >>when they are working in that subdirectory.
  19. >
  20. >It sounds fairly dangerous to do this without any arbitration to keep
  21. >several people from writing to the same file at once.  Why don't you
  22. >just insist that each person copy a file before making changes?  Or
  23. >write a suid root program that does nothing but change the modes on
  24. >the files in that directory and make the users run that before writing
  25. >to any files.  Better yet, make the program also perform some kind of
  26. >file locking while each person is writing.
  27.  
  28. SCCS(1) ?
  29. >
  30. >Les Mikesell
  31. >  les@chinet.chi.il.us
  32.  
  33. Andre Hoekstra
  34.