[Xfce-bugs] [Bug 14718] symlink on read-only NFS share to redirect homedirectory prevents thunar from copy/paste to homedirectory

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Mar 25 22:30:13 CET 2019


https://bugzilla.xfce.org/show_bug.cgi?id=14718

--- Comment #9 from René Genz <liebundartig at freenet.de> ---
Hi Andre,

at:
https://gitlab.gnome.org/GNOME/glib/issues/1689#note_472730
Ondrej Holy from GNOME's GitLab instance wrote:
---8<---
... the problem is that Thunar returns `The destination is read-only`. error
from
https://github.com/xfce-mirror/thunar/blob/master/thunar/thunar-transfer-job.c#L830.
This is because `G_FILE_ATTRIBUTE_FILESYSTEM_READONLY` is set to `TRUE` for
`/mount1/name`. But I think that Thunar should check
`G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE` instead in this case, which is by the way
set to `TRUE`. Because the filesystem attributes are obtained for the symlink
file itself, not for its target. This behavior was probably changed by commit
0f5017fb
(https://gitlab.gnome.org/GNOME/glib/commit/0f5017fb701b221846f04fa610c8429bbaa49136)
recently. But I think it is right as it is now and that Thunar needs to be
fixed.
---8<---

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list