libgocryptfs/internal
danim7 fb1b8ced38 fusefrontend_reverse: consistent file owners for .diriv, .name files
This PR addresses the Issue #95, about "Confusing file owner for
longname files in reverse mode".

It affects only the reverse mode, and introduces two
modifications:

1) The "gocryptfs.longname.XXXX.name" files are assigned the owner and
group of the underlying plaintext file. Therefore it is consistent
with the file "gocryptfs.longname.XXXX" that has the encrypted
contents of the plaintext file.

2) The two virtual files mentioned above are given -r--r--r--
permissions. This is consistent with the behavior described in
function Access in internal/fusefrontend_reverse/rfs.go where all
virtual files are always readable. Behavior also observed in point
c) in #95 .

Issue #95 URL: https://github.com/rfjakob/gocryptfs/issues/95
Pull request URL: https://github.com/rfjakob/gocryptfs/pull/97
2017-03-28 22:58:03 +02:00
..
configfile configfile: always validate all scrypt parameters 2017-03-25 19:36:16 +01:00
contentenc contentenc: catch integer underflow in file size calculation 2017-03-07 20:56:50 +01:00
cryptocore full stack: implement HKDF support 2017-03-05 21:59:55 +01:00
ctlsock ctlsock: handle non-canonical empty paths 2017-02-05 18:17:30 +01:00
exitcodes exitcodes: define code 12 for "password incorrect" 2017-02-26 19:25:23 +01:00
fusefrontend fusefrontend: get rid of leftover debug output 2017-03-18 16:48:28 +01:00
fusefrontend_reverse fusefrontend_reverse: consistent file owners for .diriv, .name files 2017-03-28 22:58:03 +02:00
nametransform nametransform: fix Raw64 not affecting symlink targets 2017-03-05 22:59:25 +01:00
prefer_openssl prefer_openssl: default to Go GCM on OSX 2016-12-10 21:04:17 +01:00
readpassword readpassword: increase max password length to 2000 2017-03-20 09:29:56 +01:00
serialize_reads serialize_reads: add read serialization logic 2017-03-18 16:18:00 +01:00
siv_aead full stack: implement HKDF support 2017-03-05 21:59:55 +01:00
speed Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00
stupidgcm Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00
syscallcompat syscallcompat: OSX compat: fix variable warnings 2017-02-16 19:23:17 +01:00
tlog Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00