After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 486780 - Nautilus does not warn when deleting read-only files
Nautilus does not warn when deleting read-only files
Status: RESOLVED DUPLICATE of bug 342105
Product: nautilus
Classification: Core
Component: Trash
2.22.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 523358 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-15 10:21 UTC by Roel Huybrechts
Modified: 2009-06-16 07:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Roel Huybrechts 2007-10-15 10:21:34 UTC
Please describe the problem:
Orginally reported at the Ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/152879

Nautilus deletes files without warning even when they have been marked read-only (444) or don't read (000). You have to be the owner of the file to do this. The behavior when using 'rm' on the console is a warning that the file is write protected. This should be implemented in Nautilus since at the moment no effective protection against accidental removal of files is possible.

Steps to reproduce:
1. Create a new file
2. Change its permissions to read-only for you, group and others
3. Trash and delete it with Nautilus



Actual results:
There comes no warning or error message at all.

Expected results:
A warning "Are you sure you want to delete this read-only file?".

Does this happen every time?
Yes

Other information:
Comment 1 Mathias Menzer 2008-03-19 13:04:45 UTC
This could be reproduced using Nautilus 2.22.0 (Ubuntu 8.04 Alpha-4), too.
Comment 2 Cosimo Cecchi 2008-03-19 17:36:06 UTC
*** Bug 523358 has been marked as a duplicate of this bug. ***
Comment 3 Cosimo Cecchi 2008-03-19 18:06:16 UTC
Confirming.
Comment 4 Mathias Menzer 2008-05-13 13:46:55 UTC
Now also reproduced on Ubuntu 8.04 Final, nautilus 2.22.2
Comment 5 Mathias Menzer 2008-09-30 10:40:03 UTC
Again reproduced in nautilus 2.23.92
Comment 6 Mathias Menzer 2008-09-30 15:58:14 UTC
Also seen in nautilus 2.24 under Ubuntu 8.10-Alpha6
Comment 7 Mathias Menzer 2009-02-27 09:59:52 UTC
Also seen in nautilus 2.25 under Ubuntu 9.04-Alpha5
Comment 8 Cosimo Cecchi 2009-03-02 16:57:31 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 342105 ***
Comment 9 Mathias Menzer 2009-06-16 07:18:53 UTC
Also seen in nautilus 2.26.2 under Ubuntu 9.04-Final