[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rm shouldn't need to read the current working directory
From: |
David Cantrell |
Subject: |
rm shouldn't need to read the current working directory |
Date: |
Tue, 16 Jan 2007 14:19:59 +0000 |
User-agent: |
Mutt/1.5.9i |
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.
- rm shouldn't need to read the current working directory,
David Cantrell <=