bug-coreutils
[Top][All Lists]
Advanced

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

Re: is this a bug?


From: Micah Cowan
Subject: Re: is this a bug?
Date: Tue, 11 Dec 2007 12:11:54 -0800
User-agent: Thunderbird 2.0.0.9 (X11/20071031)

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

Joseph Piche wrote:
> Hello.
> 
> I am trying to get to the center of Ubuntu Bug #7560 and Gnome Bug
> #108307. This "bug" is over 4 years old. This relates to how gnome-vfs
> treats files moved to the trash, but I believe it boils down to how
> coreutils treats file/folder permissions. The steps to reproduce:
> 
> cd
> mkdir -p test/test
> touch test/test/file
> cd test
> chmod -R a-w test
> cd
> rm -r test
> 
> "rm: cannot remove `test/test/file': Permission denied"
> 
> Is this a bug or is this expected behavior? If it is expected
> behavior, is it desired behavior?

Expected and desired. Why wouldn't it be? You've denied write access to
test/test, so its entry for "file" can't be removed.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXu8K7M8hyUobTrERAjpUAJsF/4PGw/KDf6fFxCg8Wa6DtX+SDQCgi+QK
CdObHrNstawutb5V2Cv5xKI=
=a6hk
-----END PGP SIGNATURE-----




reply via email to

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