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 759328 - Cannot delete file from remote FS
Cannot delete file from remote FS
Status: RESOLVED OBSOLETE
Product: meld
Classification: Other
Component: dirdiff
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2015-12-11 07:24 UTC by Pavol Šimo
Modified: 2017-12-13 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pavol Šimo 2015-12-11 07:24:59 UTC
Cannot delete file on remote filesystem (fuse-sshfs mounted) - the error message is "g-io-error-quark: Unable to find or create trash directory (15)"

Please add the configurable option to delete files directly, not using the trash.
Comment 1 Kai Willadsen 2015-12-11 20:57:40 UTC
It's worth mentioning that Meld doesn't currently support remote filesystems at all.

However, what we can do here anyway is add handling for getting Gio.IOErrorEnum.NOT_SUPPORTED when trying to move a file to the trash, and prompt the user whether they want to delete it immediately instead.
Comment 2 Pavol Šimo 2015-12-15 18:24:10 UTC
If adding the option to bypass trash is not acceptable, the prompt will be sufficient solution. Thanks.
Comment 3 Nrbrtx 2017-11-07 15:13:40 UTC
Got this bug on Ubuntu Xenial (see https://bugs.launchpad.net/ubuntu/+source/meld/+bug/1683289) with two different cases:

1. Local FS 

Steps to reproduce:
2.1. Start Meld (for example from console 'sudo meld /media/user/FLASH/apt/ /etc/apt/')
2.2. Launch comparison
2.3. Try to delete some_file from left side (represents "/media/user/FLASH/")
2.4. Get error
"Error deleting /media/user/FLASH/apt/some_file
g-io-error-quark: Unable to find or create trash directory (15)"

Expected results:
User is able to delete files from Meld.

Actual results:
User is unable to delete file from Meld.

Please note:
Usb flash (mounted on /media/user/FLASH) is writeable.
Trash folder exists on flash (it is /media/user/FLASH/.Trash-1000).

2. Remote FS

Steps to reproduce:
2.1. Mount two folders for comparison with `sshfs user@host1:/ ~/folder1` and `sshfs user@host2:/ ~/folder2` as user with id=1000 (and on hosts id=1000)
2.2. Run Meld with `meld ~/folder1 ~/folder2`
2.3. Try to delete file
2.4. Get error
"Error deleting /home/user/folder1/some_file
g-io-error-quark: Unable to find or create trash directory (15)"
Comment 4 GNOME Infrastructure Team 2017-12-13 19:15:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/97.