diff options
author | Jakob Unterwurzacher | 2016-06-30 23:12:22 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-30 23:17:54 +0200 |
commit | e994ffa27d5c27c7502f657f6d2de2e105aaaa09 (patch) | |
tree | 4b5543f59d4793d14316aac5e6806b8e64009cc7 /internal/readpassword/read.go | |
parent | 02b6d3067d502bcc063965a5a9d75aa693125e1b (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/readpassword/read.go')
0 files changed, 0 insertions, 0 deletions