aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/file_holes.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-06-30 23:12:22 +0200
committerJakob Unterwurzacher2016-06-30 23:17:54 +0200
commite994ffa27d5c27c7502f657f6d2de2e105aaaa09 (patch)
tree4b5543f59d4793d14316aac5e6806b8e64009cc7 /internal/fusefrontend/file_holes.go
parent02b6d3067d502bcc063965a5a9d75aa693125e1b (diff)
fusefrontend: handle dir-overwrites-dir on XFS
XFS returns a different error code if you try to overwrite a non-empty directory with a directory: XFS: mv: cannot move ‘foo’ to ‘bar/foo’: File exists ext4: mv: cannot move 'foo' to 'bar/foo': Directory not empty So have EEXIST trigger the Rmdir logic as well. Fixes issue #20 Link: https://github.com/rfjakob/gocryptfs/issues/20
Diffstat (limited to 'internal/fusefrontend/file_holes.go')
0 files changed, 0 insertions, 0 deletions