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 339154 - dnd to a directory owned by an another user should default to copy (fix dnd to setgid shared directory by example)
dnd to a directory owned by an another user should default to copy (fix dnd t...
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Christian Neumair
Nautilus Maintainers
: 339274 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-20 10:44 UTC by Sebastien Bacher
Modified: 2021-06-18 15:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Proposed patch (2.05 KB, patch)
2006-04-20 11:26 UTC, Christian Neumair
none Details | Review

Description Sebastien Bacher 2006-04-20 10:44:22 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/gnome-vfs2/+bug/36647

"When you have multiple workgroups and users are members of overlapping and different sets of workgroups, directorys are set chmod g+s in order to inherit permissions when creating a file further along the branch of the tree.
..."


After discussion on IRC, that is the issue with that:
- nautilus does move on dnd by default (if you use the same partition)
- move doesn't change the owner and permissions of what is moved

Possibles changes for it:
- doing copy instead of move by default, but that's probably not what users expect
- making move respecting the setgid, but that's not coherent with the command line and breaks other usecases likely
- setting an option to change the default behaviour, but copy by default is not optimal
- having a way to flag those directories as special which change the dnd behaviour to them
- making the dnd doing copy by default is the destination is owned by an another user

Changing the dnd to copy when the directory is owned by an another user is probably the best option for that
Comment 1 Christian Neumair 2006-04-20 11:26:44 UTC
Created attachment 63939 [details] [review]
Proposed patch

Discussion:
http://mail.gnome.org/archives/nautilus-list/2006-April/msg00078.html
Comment 2 André Klapper 2006-10-06 19:19:46 UTC
*** Bug 339274 has been marked as a duplicate of this bug. ***
Comment 3 Cosimo Cecchi 2008-05-22 09:30:53 UTC
Setting patch as obsolete for the transition away from GnomeVFS.
Comment 4 André Klapper 2021-06-18 15:12:47 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Files (nautilus), then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/nautilus/-/issues/

Thank you for your understanding and your help.