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 80694 - Dragging from read-only directory to desktop should default to 'Copy'
Dragging from read-only directory to desktop should default to 'Copy'
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Cut Copy Paste Undo
2.4.x
Other Linux
: Normal enhancement
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 119467 128238 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-05-03 14:51 UTC by Håvard Wigtil
Modified: 2006-03-29 19:55 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Håvard Wigtil 2002-05-03 14:51:52 UTC
It currently defaults to 'Move', and I get an error dialog.
When I don't have rights to modify the directory I'm dragging from, it
would be nice if Nautilus defaulted to copy.
Comment 1 Sebastien Bacher 2003-11-22 17:29:12 UTC
Seems to work with nautilus 2.4 (it just copy the dir if read-only).
I'm closing this bug. Feel free to reopen it if you still have a problem.

Thanks
Comment 2 Håvard Wigtil 2003-11-23 00:13:47 UTC
The permissions of the file or directory being moved is mostly
irrelevant, it's the permissions of the parent folder that matters.

This is at least still a problem with Nautilus 2.4.0-7 on Fedora Core 1

Try if this works for you:

1. Create a file inside a read-only directory, thus:
----------------------------------------------------------------------
$ cd /tmp/
$ mkdir readonly
$ touch readonly/file
$ chmod -w readonly/
$ ls -la readonly/
total 44
dr-xr-xr-x    2 havardw  havardw      4096 Nov 23 01:03 .
drwxrwxrwt   22 root     root        40960 Nov 23 01:03 ..
-rw-rw-r--    1 havardw  havardw         0 Nov 23 01:03 file
----------------------------------------------------------------------

2. Go to /tmp/readonly in Nautilus and copy "file" to the desktop.

Actual result: Nautilus defaults to move, and displays an error dialog
about being unable to modify the parent directory. (You might get a
different default action if /tmp and your desktop is on different
volumes.)

Expected result: Nautilus should default to copy, because the file
cannot be deletet from its current location.
Comment 3 Sebastien Bacher 2003-11-25 22:02:28 UTC
Ok, same problem here (my first try was with a /usr subdir and in this
case the copy works as expected).

I'm setting the version ot GNOMEVER2.4
Comment 4 Sebastien Bacher 2003-11-29 00:40:54 UTC
In fact the problem is due to the desktop as destination (works fine
with an another dir as destination).

119467 seems to be a duplicated
Comment 5 Sebastien Bacher 2003-11-29 00:41:30 UTC
*** Bug 119467 has been marked as a duplicate of this bug. ***
Comment 6 Sebastien Bacher 2003-11-29 00:49:36 UTC
I'm changing the summary to add the "to desktop" part
Comment 7 Martin Wehner 2003-12-01 18:37:14 UTC
*** Bug 128238 has been marked as a duplicate of this bug. ***
Comment 8 Alexander Larsson 2004-10-01 12:42:51 UTC
bug 143746 is slightly related
Comment 9 Sebastien Bacher 2005-05-15 20:54:17 UTC
works fine with the current versions, bug closed. Feel free to reopen if that's
still an issue for you.
Comment 10 Sergej Kotliar 2006-03-29 19:55:20 UTC
Hmm... Doesn't work here, on GNOME 2.14. I get an error about being unable to move the file, both to desktop and to the home folder.
Has something been changed, or should this bug be reopened?