[Xfce-bugs] [Bug 14376] Thunar copies selected files instead of moving within the same folder in NTFS partition

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat May 5 22:07:10 CEST 2018


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

--- Comment #3 from Andre Miranda <andreldm at xfce.org> ---
I was able to track this issue down to this chunk of code:
https://git.xfce.org/xfce/thunar/tree/thunar/thunar-file.c?id=1fc91212395c8c14d6b60a4ca1f1cc10343f703e#n2094

So, the problem is that Thunar checks if the source file is owned by the
current user, which is not the case when mounted via [sudo] mount or fstab,
files will belong to root.

That was explicitly introduced by Thunar's original author long ago:
https://git.xfce.org/xfce/thunar/commit/?id=8bacc1eb9ef4c647b59514e560cd1608601c3c18

I can easily remove this part of the validation (and it works as expected),
however I'm not sure what are the implications and this is a safe change.

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


More information about the Xfce-bugs mailing list