home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / protocol / appletal / 3132 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.6 KB

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