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 154478 - permissions check when moving to trash is done later than it could be
permissions check when moving to trash is done later than it could be
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.13.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-04 16:26 UTC by Bill Nottingham
Modified: 2012-08-30 12:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Make sure the file is trashable before offering to move to Trash (2.06 KB, patch)
2012-08-30 00:34 UTC, William Jon McCann
committed Details | Review

Description Bill Nottingham 2004-10-04 16:26:15 UTC
Create, say, a dangling symlink in the root directory.

Double click on it:

  The link is broken, move to Trash?

   <accept>

   Cannot move file to trash, delete immediately?

   <accept>

   Error while deleting (no permissions to modify /)

The permissions check could theoretically be done much earlier, avoiding the
dialog cascade.
Comment 1 Christian Neumair 2006-03-02 15:00:10 UTC
Still an issue, updating version to 2.13.
Comment 2 William Jon McCann 2012-08-30 00:34:41 UTC
Created attachment 222901 [details] [review]
Make sure the file is trashable before offering to move to Trash
Comment 3 Cosimo Cecchi 2012-08-30 12:44:31 UTC
Review of attachment 222901 [details] [review]:

Thanks, looks good to me.