[Bug 202192] x11-fm/thunar 1.6.11 change file permissions on SSHFS-mounted files/directories
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Oct 2023 12:41:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202192 --- Comment #25 from Guido Falsi <madpilot@FreeBSD.org> --- (In reply to Ivan Rozhuk from comment #24) Please note that your patch to `thunar/thunar-file.c` cannot be accepted upstream because it is wrong according to common UNIX filesystem logic. Users can change permission on files they own, even if they have no write permission. The problem you are trying to solve with that patch is not solvable in thunar, in fact it is not file manager job to do that, the problem is with sshfs that fails to properly map remote ownership/permission. Maybe this can be solved in sshfs via configuration o patching it, but there is no definitive solution in thunar, since the information you are trying to guess requires knowledge of the state at the remote end. Either sshfs conveys that in some way via filesystem interfaces or it is completely impossible to solve it the way you'd like. Have you tested with other file managers? If you find one that works "right" (for any definition of right) maybe we can look at what it does and get some ideas. (my interpretation is that other file managers will show similar behaviour to thunar or equally broken but in different ways behaviour, but I could be wrong) -- You are receiving this mail because: You are the assignee for the bug.