aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/file_holes.go
diff options
context:
space:
mode:
authorSebastian Lackner2017-11-25 02:12:02 +0100
committerrfjakob2017-11-25 16:20:00 +0100
commit95870e841e395607a7df60a138f0fcc53a76f7b3 (patch)
tree9738158b7d39fdbdacc9e3f4c70f6d9bdb997922 /internal/fusefrontend/file_holes.go
parent9f56b33e0c8701085189aa77463f1b471b70a705 (diff)
fusefrontend: Skip gocryptfs.diriv handling when directory was deleted successfully
Fixes https://github.com/rfjakob/gocryptfs/issues/171 Steps to reproduce: * Create a regular forward mount point * Create a new directory in the mount point * Manually delete the gocryptfs.diriv file from the corresponding ciphertext directory * Attempt to delete the directory with 'rmdir <dirname>' Although the code explicitly checks for empty directories, it will still attempt to move the non-existent gocryptfs.diriv file and fails with: rmdir: failed to remove '<dirname>': No such file or directory
Diffstat (limited to 'internal/fusefrontend/file_holes.go')
0 files changed, 0 insertions, 0 deletions