home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!ucbvax!dcs.gla.ac.uk!inei
- From: inei@dcs.gla.ac.uk (inei)
- Newsgroups: comp.protocols.appletalk
- Subject: Re: Setting up drop boxes
- Message-ID: <9208191428.AA06477@hawaii.dcs.gla.ac.uk>
- Date: 19 Aug 92 14:28:21 GMT
- Sender: usenet@ucbvax.BERKELEY.EDU
- Organization: The Internet
- Lines: 51
-
- (Glenn Anderson) <Bt6vAM.A1M@watserv1.uwaterloo.ca> writes:
-
- >I am trying to setup a disk that would have a number of drop folders for
- >users in a group. A user could drop a file into anyones drop folder, but
- >can only read items in his own folder. (Similiar to drop folders on Appleshare
- >servers).
- >
- >To date, I have things setup so that it looks and acts properly when dropping
- >a file into a folder. The problem is that when I switch users to the one
- >owning the folder, the files all have the CAP default Unix icon. When one
- >trys to drag the files to the trash, you get an error that an idea can not
- >be moved into itself.
- >
- >Any help would greatly be appreciated.
- >
- A drop-box folder has the following permissions in UNIX:
-
- drwx-ws-wx 5 support dropbox 512 Aug 19 15:13 Support
-
- No read permission to group and others and owned by dropbox group.
- No problems when you drop a file into the drop folder, but when you
- drop a folder into the drop folder, the sub-directory inherits the
- access permissions of the parent folder. Result - user support will
- have no search permission on the folder. This is what the access
- permissions of "Printer Queue" looks like in user support's drop folder:
-
- drwx-wx-wx 4 inei dropbox 512 Aug 19 15:19 Printer Queue
-
- To implement drop-boxes successfully using CAP, you have to
-
- (1) create a UNIX group, to which all drop-box users must be member of.
-
- (2) For each user, create a folder with the permissions:
-
- drwx-ws-wx
-
- chown to user and chrp to drop-box group.
-
- (3) Tell users not to drop folders, or run a UNIX daemon or cron job to
- periodically look for drop folders with drwx-ws-wx permission and
- chmod them to drwxrwxrwx. I have hacked up such a UNIX program
- and I can e-mail it to anyone who needs it. The program will also
- weed out drop files/folders that have not been modified for more than
- a week. This ensures that people do not use drop-boxes as storage
- area and also ensures that the drop-box does not get clogged up with
- litter.
-
- Mail: Nick Nei, Computing Science Dept.,
- Glasgow Univ., 17 Lilybank Gardens,
- Glasgow G12 8QQ, UK. Tel: (041) 339 8855 x 5457
- ARPA: inei%uk.ac.glasgow.dcs@nsfnet-relay.ac.uk USENET: inei@cs.glasgow.uucp
-