summaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse
diff options
context:
space:
mode:
authorJakob Unterwurzacher2023-05-17 23:26:56 +0200
committerJakob Unterwurzacher2023-05-17 23:26:56 +0200
commit09954c4bdecf0ca6da65776f176dc934ffced2b0 (patch)
treead35e8f5edc62572c93c962b26a8f97f1eab0de5 /internal/fusefrontend_reverse
parent7d1e48d195b827ee00bfd0ab0421a395b1ec0ea7 (diff)
fusefrontend: implement our own Access()
Not having Access() means go-fuse emulates it by looking at Getattr(). This works fine most of the time, but breaks down on sshfs, where sshfs-benchmark.bash shows this: gocryptfs/tests$ ./sshfs-benchmark.bash nuetzlich.net working directory: /tmp/sshfs-benchmark.bash.JQC sshfs mounted: nuetzlich.net:/tmp -> sshfs.mnt gocryptfs mounted: sshfs.mnt/sshfs-benchmark.bash.Wrz/gocryptfs.crypt -> gocryptfs.mnt sshfs-benchmark.bash: sshfs gocryptfs-on-sshfs git init 3.98 6.80 rsync 7.71 10.84 rm -R 4.30rm: descend into write-protected directory 'gocryptfs.mnt/git1'? The go-fuse emulation gets it wrong here because sshfs reports permissions but does not enforce them. Implement it ourselves properly.
Diffstat (limited to 'internal/fusefrontend_reverse')
0 files changed, 0 insertions, 0 deletions