incorrect permissions required to delete directory

Bug #24798 reported by Jonathon Conte
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GnomeVFS
Confirmed
Medium
gnome-vfs2 (Ubuntu)
Triaged
Medium
Ubuntu Desktop Bugs

Bug Description

Description:
Nautilus requires directory foo to have read and write permissions to permit
deletion.

Expected Results:
User only requires write and execute permission (with sticky bit off) on foo's
parent directory in order to delete foo (or any other file in foo's parent).

Steps to reproduce:
jconte@kunto:~/Desktop $ mkdir foo
jconte@kunto:~/Desktop $ chmod 600 foo
jconte@kunto:~/Desktop $ sudo chown root.root foo
Password:
jconte@kunto:~/Desktop $ ls -ld . foo
drwxr-xr-x 4 jconte jconte 496 2005-10-30 10:55 .
drw------- 2 root root 48 2005-10-30 10:55 foo

Foo cannot be deleted from Nautilus at this point.

jconte@kunto:~/Desktop $ sudo chmod 606 foo
jconte@kunto:~/Desktop $ ls -ld . foo
drwxr-xr-x 4 jconte jconte 496 2005-10-30 11:19 .
drw----rw- 2 root root 48 2005-10-30 11:19 foo

Nautilus will now enable the user to delete foo.

Build and Version:
Ubuntu 5.10 Breezy Badger
Nautilus 2.12.1

http://bugzilla.gnome.org/show_bug.cgi?id=322841: http://bugzilla.gnome.org/show_bug.cgi?id=322841

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I've forwarded the issue upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=322841

Changed in gnome-vfs2:
assignee: seb128 → desktop-bugs
status: Unconfirmed → Confirmed
Changed in gnome-vfs:
status: Rejected → Unconfirmed
Changed in gnome-vfs2:
status: Confirmed → Triaged
Changed in gnome-vfs:
status: New → Confirmed
Changed in gnome-vfs:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.