libgocryptfs/internal/fusefrontend
Sebastian Lackner 95870e841e 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
2017-11-25 16:20:00 +01:00
..
args.go main: purge masterkey from memory as soon as possible 2017-08-11 19:02:26 +02:00
ctlsock_interface.go fusefrontend: implement path decryption via ctlsock 2017-05-07 21:01:39 +02:00
file_allocate_truncate.go fusefrontend: Read: use provided buffer 2017-06-30 23:11:38 +02:00
file_holes.go fusefrontend: truncateGrowFile: avoid createHeader() call 2017-03-12 21:06:59 +01:00
file.go Revert most of "fusefrontend: clamp oversized reads" 2017-10-21 17:43:21 +02:00
fs_dir.go fusefrontend: Skip gocryptfs.diriv handling when directory was deleted successfully 2017-11-25 16:20:00 +01:00
fs.go fusefrontend: Fix longname handling for renames with existing target 2017-11-25 16:19:09 +01:00
names.go nametransform: delete unused function DecryptPathDirIV 2016-09-25 18:56:23 +02:00