home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!mcsun!sun4nl!utrcu1!infnews!ahoekstr
- From: ahoekstr@cs.utwente.nl (Andre Hoekstra)
- Subject: Re: How can I allow access to a subdirectory without risking other files?
- Message-ID: <1992Sep4.125822.7243@cs.utwente.nl>
- Sender: ahoekstr@cs.utwente.nl
- Nntp-Posting-Host: waal
- Organization: University of Twente, Dept. of Computer Science
- Date: Fri, 4 Sep 1992 12:58:22 GMT
- Lines: 22
-
- In article <Btq39I.1on@chinet.chi.il.us> les@chinet.chi.il.us (Leslie Mikesell) writes:
- >In article <92Aug26.165308.27634@acs.ucalgary.ca> barker@enel.ucalgary.ca writes:
- >>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.
- >
- >It sounds fairly dangerous to do this without any arbitration to keep
- >several people from writing to the same file at once. Why don't you
- >just insist that each person copy a file before making changes? Or
- >write a suid root program that does nothing but change the modes on
- >the files in that directory and make the users run that before writing
- >to any files. Better yet, make the program also perform some kind of
- >file locking while each person is writing.
-
- SCCS(1) ?
- >
- >Les Mikesell
- > les@chinet.chi.il.us
-
- Andre Hoekstra
-