rm shouldn't need to read the current working directory
David Cantrell <[email protected]> Tue, 16 Jan 2007 14:19:59 +0000
| Newsgroups | gmane.comp.gnu.core-utils.bugs,gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
GNU rm seems to need read permission on the current working directory,
and to fail if it can't:
# cd some-place-only-root-can-read
# sudo -u peon rm /some/file/the/peon/has/permission/to/rm
rm: cannot lstat `.': Permission denied
Looks like a bug to me! This was using:
rm (fileutils) 4.1
--
David Cantrell
I caught myself pulling grey hairs out of my beard.
I'm definitely not going grey, but I am going vain.