home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6588 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.2 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
  2. From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Logging as root....bad idea?
  5. Message-ID: <1992Jul23.235613.11118@klaava.Helsinki.FI>
  6. Date: 23 Jul 92 23:56:13 GMT
  7. References: <9TP8NB3w165w@ssg.com> <1992Jul23.145332.1393@sspiff.ampr.ab.ca> <*6a1H7ren8@atlantis.psu.edu>
  8. Organization: University of Helsinki
  9. Lines: 16
  10.  
  11. bairstow@haydn.psu.edu (Steven Bairstow) writes:
  12. >What I would like is a new version of rm, where are the lastest sources? 
  13. >The version that came on the last root disk allows someone in group other 
  14. >to erase a file owned by root in group wheel. Even with the file I'm 
  15. >trying to erase set to permissions 600, it will ask if you want to overide 
  16. >these permissions and then merrily delete it. I have checked and rm is not 
  17. >setuid. What is going on here?
  18.  
  19. The permission to delete a file is not dependent on the permissions of
  20. the file itself but rather the permissions of the directory in which the
  21. file resides.  If you can modify the directory (i.e. you have write
  22. access) you can delete the name from the directory (directories are
  23. basically only lists of names + inode numbers).
  24.  
  25. --
  26. Lars.Wirzenius@helsinki.fi
  27.