home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10823 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!munnari.oz.au!metro!ipso!runxtsa!bde
  3. From: bde@runx.oz.au (Bruce Evans)
  4. Subject: Re: [386 BSD] Permissions set wrong - HELP
  5. Message-ID: <1993Jan1.105359.4807@runx.oz.au>
  6. Organization: RUNX Un*x Timeshare.  Sydney, Australia.
  7. References: <C0618x.6uL@ais.org>
  8. Date: Fri, 1 Jan 93 10:53:59 GMT
  9. Lines: 22
  10.  
  11. In article <C0618x.6uL@ais.org> draper@ais.org (Patrick Draper) writes:
  12. >
  13. >The directory /tmp didn't have access for others to write to it. Also, the
  14. >directory /var/tmp didn't have access either.
  15. >
  16. >Why are these directories set up this way? I switched them, but I don't know
  17. >what problems this will cause in the future.
  18.  
  19. They are just wrong.  If you unpack the bin01 distribution, it will create
  20. the directory /tmp with permissions rwxr-xr-x because /tmp is not actually
  21. in the bin01 distribution, only the file /tmp/install.bin01 is there, so
  22. cpio creates /tmp with the default permissions.
  23.  
  24. I'm not very familiar with /tmp and had trouble getting the right
  25. directories in the archive when I repacked the src01 distribution.  (The
  26. src01 distribution can be packed in only 34 files of size 240640 instead
  27. of 61, by removing 2.5MB of junk uucp binaries and compressing it with
  28. zip).  One advantage of cpio over tar is that it restores directory
  29. permissions so the default /tmp permissions would get fixed up by a
  30. /tmp with the correct permissions in another archive.
  31. -- 
  32. Bruce Evans  (bde@runx.oz.au)
  33.