bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rm shouldn't need to read the current working directory


From: Eric Blake
Subject: Re: rm shouldn't need to read the current working directory
Date: Tue, 16 Jan 2007 07:24:50 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to David Cantrell on 1/16/2007 7:19 AM:
> # 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

Time for an upgrade!  fileutils was consumed by coreutils, and this bug no
longer exists in coreutils 6.7 (the latest stable version), at least, if
your system supports openat(2) or /proc/self/fd/.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrOAx84KuGfSFAYARAu83AJ4l4wF+nN4yi3tBK9i+91OzDyAJkQCfbxUu
8i982wJPws+DynyiBpFOtH4=
=muac
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]