libgocryptfs/internal
Sebastian Lackner 9f56b33e0c fusefrontend: Fix longname handling for renames with existing target
Fixes https://github.com/rfjakob/gocryptfs/issues/170

Steps to reproduce the problem:

* Create a regular forward mount point
* Create a file with a shortname and one with a long filename
* Try to run 'mv <shortname> <longname>'

This should actually work and replace the existing file, but instead it
fails with:

    mv: cannot move '<shortname>' to '<longname>': File exists

The problem is the creation of the .name file. If the target already exists
we can safely ignore the EEXIST error and just keep the existing .name file.
2017-11-25 16:19:09 +01:00
..
configfile main: Add '-devrandom' commandline option 2017-11-21 23:37:06 +01:00
contentenc contentenc: reserve one additional block in CReqPool 2017-10-19 09:23:10 +02:00
cryptocore Fix misspellings reported by goreportcard.com 2017-08-21 21:06:05 +02:00
ctlsock Fix typos found by Misspell 2017-05-07 12:22:15 +02:00
exitcodes Add "-trace" flag (record execution trace) 2017-06-07 22:09:06 +02:00
fusefrontend fusefrontend: Fix longname handling for renames with existing target 2017-11-25 16:19:09 +01:00
fusefrontend_reverse fusefrontend_reverse: Add a missing Close() call 2017-11-22 23:42:49 +01:00
nametransform fusefrontend: Fix longname handling for renames with existing target 2017-11-25 16:19:09 +01:00
openfiletable openfiletable: rename WriteLock to ContentLock 2017-05-01 21:57:18 +02:00
pathiv pathiv: fix test failure on Go 1.6 2017-05-31 08:21:36 +02:00
prefer_openssl prefer_openssl: default to Go GCM on OSX 2016-12-10 21:04:17 +01:00
readpassword exitcodes: add code 22 for "password is empty" 2017-05-14 14:02:08 +02:00
serialize_reads fix golint complaints 2017-04-29 14:50:58 +02:00
siv_aead siv_aead: fix trivial typo in comment 2017-09-17 11:42:46 +02:00
speed fix golint complaints 2017-04-29 14:50:58 +02:00
stupidgcm macos: make testing without openssl work properly 2017-07-14 23:22:15 +02:00
syscallcompat tests: don't read /proc, the number of entries changes too quickly 2017-10-22 18:13:08 +02:00
tlog Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00