[Bug 202192] x11-fm/thunar 1.6.11 change file permissions on SSHFS-mounted files/directories

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Oct 2023 07:49:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202192

--- Comment #23 from Guido Falsi <madpilot@FreeBSD.org> ---
(In reply to Ivan Rozhuk from comment #22)

Problem is thunar is a local file system graphics UI and respect common local
UNIX Filesystem semantics. shhfs and many fuse provided filesystems have
different semantics and there is no simple way to cater in thunar for all their
peculiarities.

It is these filesystems responsibility to properly map their semantics to the
unix filesystem interface, providing reasonable mapping to the unix flags where
possible.

SSHFS is problematic because the remote user can be differnet from the local
one and have completely different permissions, and the filesystem is not
properly translating those in the mounting machine. I'm not sure if SSHFS could
r should do things differently, but thunar has no way to know the remote
permissions. Simply disabling the functionality is not a real fix.

AFAIK thunar does not support extended flags nor ACL style permissions (like
what is supported by NFSv4 or NTFS).

There is no way to have thunar act correctly in these situations, short of
coding a bunch of exceptions based on the type of filesystem, which IMHO is
anyway not the correct approach. This is way out of the scope of the ports
tree, also because this issue will show up on any operating system.

This should be addressed with XFCE developers. But if they were to reply that
such exceptions are out of the scope of thunar I would be unable to disagree.

Anyway fixing this is beyond my abilities, and adding patches which
significantly modify the software behaviour is not appropriate for the ports
tree, unless there is certainty the patches will be included (or even better
have already been included) upstream.

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