GNU bug report logs - #11696
Bug found in Putty linux

Previous Next

Package: coreutils;

Reported by: Vai Dy <vaidydeepak <at> gmail.com>

Date: Wed, 13 Jun 2012 16:18:02 UTC

Severity: normal

Tags: notabug

Merged with 11709

Done: era eriksson <era <at> iki.fi>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 11696-done <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Vai Dy <vaidydeepak <at> gmail.com>
Cc: 11696-done <at> debbugs.gnu.org
Subject: Re: bug#11696: Bug found in Putty linux
Date: Wed, 13 Jun 2012 10:56:17 -0600
[Message part 1 (text/plain, inline)]
tag 11696 notabug
thanks

On 06/13/2012 04:45 AM, Vai Dy wrote:
> Hi,
> 
>    Currently i'm using putty 0-55 version. Just clarify me whether its a
> bug or not .
> 
> 1)Creating a directory
> 2)Removing all the permission like read, write and execute for owners ,
> groups and users.
> 3)If i try to delete the file what would be the output ?

Thanks for the report.  It helps if you show the actual commands you
typed, the actual results you got, and what you were expecting instead,
before claiming that something is a bug.  Although your details are
sparse, I think you are asking about:

$ mkdir foo
$ touch bar
$ chmod a-rwx foo bar
$ ls -ld foo bar .
----------. 1 eblake eblake    0 Jun 13 10:51 bar
d---------. 2 eblake eblake 4096 Jun 13 10:25 foo
drwxr-xr-x. 22 eblake eblake 4096 Jun 13 10:52 .
$ rm -rf foo bar
$ echo $?
0

That is correct POSIX behavior, and makes perfect sense (deleting a file
does not require permissions on the file itself, but on the container
that you are deleting it from, and '.' is still writable).  I'm going to
close this as not a bug for now, but feel free to continue to post if
you have more details, and we can reopen if necessary.

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 12 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.