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