Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688378 - xfce-base/thunar-1.6.17 ignore null value for destination write attribute
Summary: xfce-base/thunar-1.6.17 ignore null value for destination write attribute
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-06-20 10:36 UTC by Nikolay Kichukov
Modified: 2019-06-20 11:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
suggested patch that allows Thunar to transfer files into the gvfs mount (ignore-null-value-for-destination-write-attribute.patch,1.18 KB, patch)
2019-06-20 10:38 UTC, Nikolay Kichukov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Kichukov 2019-06-20 10:36:44 UTC
Under specific circumstances, xfce-base/thunar-1.6.17 may be unable to transfer files to gvfs mount, ie SMB but is able to create new directories and files. The error that is printed is: "the destination is read-only", where it is not. Copying to: '/var/run/user/1000/gvfs/smb-share:share=XXX' works, but Thunar drag and drop or copy does not.

The attached is a backported batch from Thunar 18.4 from:
https://gitlab.manjaro.org/packages/extra/xfce/thunar-gtk3/blob/270f0c86629e31245034bcdc448561e5aefec882/0001-ignore-null-value-for-destination-write-attribute.patch

which does solve the problem on xfce-base/thunar-1.6.17.

Reproducible: Always

Steps to Reproduce:
1. Create a CIFS share on Windows 10
2. In Thunar, navigate to: smb://DOMAIN;username@IP/SHARENAME
3. Attempt to copy a file and observe how Thunar fails with 'the destination is read-only'
Actual Results:  
I was not able to transfer files to the share in Thunar.

Expected Results:  
Be able to transfer files to the share as it is mounted by gvfs in read-write mode.

Apply the attached patch.
Thunar flags:
 * Found these USE flags for xfce-base/thunar-1.6.17:
 U I
 + + dbus               : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 + + exif               : Add support for reading EXIF headers from JPEG and TIFF images
 + + libnotify          : Enable desktop notification support
 + + pcre               : Add support for Perl Compatible Regular Expressions
 - - test               : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 + + trash-panel-plugin : Build the trash status indicator plugin for the XFCE panel
 + + udisks             : Enable storage management support (automounting, volume monitoring, etc)
Comment 1 Nikolay Kichukov 2019-06-20 10:38:52 UTC
Created attachment 580216 [details, diff]
suggested patch that allows Thunar to transfer files into the gvfs mount

This patch was backported from:
https://gitlab.manjaro.org/packages/extra/xfce/thunar-gtk3/blob/270f0c86629e31245034bcdc448561e5aefec882/0001-ignore-null-value-for-destination-write-attribute.patch

Perhaps worth applying this to the latest 1.8 ebuild too.