libgocryptfs/internal
Sebastian Lackner 5055f39bd5 fusefrontend: Allow to set/remove xattr on directory without read permission.
Setting/removing extended attributes on directories was partially fixed with
commit eff35e60b6. However, on most file systems
it is also possible to do these operations without read access (see tests).

Since we cannot open a write-access fd to a directory, we have to use the
/proc/self/fd trick (already used for ListXAttr) for the other operations aswell.
For simplicity, let's separate the Linux and Darwin code again (basically revert
commit f320b76fd1), and always use the
/proc/self/fd trick on Linux. On Darwin we use the best-effort approach with
openBackingFile() as a fallback.

More discussion about the available options is available in
https://github.com/rfjakob/gocryptfs/issues/308.
2019-01-05 12:34:40 +01:00
..
configfile configfile: Fix a copy&paste error in validateParams method. 2018-12-28 09:58:46 +01:00
contentenc configfile: Explicitly wipe scrypt derived key after decrypting/encrypting master key. 2018-12-27 18:47:14 +01:00
cryptocore tlog: stop embedding log.Logger to prevent mistakes 2018-02-28 09:02:18 +01:00
ctlsock fsck: clean up log output 2018-04-02 18:32:30 +02:00
exitcodes Assorted spelling fixes. 2018-12-27 15:19:55 +01:00
fusefrontend fusefrontend: Allow to set/remove xattr on directory without read permission. 2019-01-05 12:34:40 +01:00
fusefrontend_reverse fusefrontend_reverse: Fix redeclaration of 'entries' variable. 2019-01-04 20:11:45 +01:00
nametransform nametransform: ReadDirIVAt: return raw syscall error 2019-01-04 23:21:27 +01:00
openfiletable Add option for autounmount 2018-10-11 20:16:45 +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 tests: fix TestPassfileNewline 2018-12-16 12:33:25 +01:00
serialize_reads fix golint complaints 2017-04-29 14:50:58 +02:00
siv_aead siv_aead: create private key copy and implement wiping 2018-02-18 16:01:46 +01:00
speed fix golint complaints 2017-04-29 14:50:58 +02:00
stupidgcm Assorted spelling fixes. 2018-12-27 15:19:55 +01:00
syscallcompat fusefrontend: Allow to set/remove xattr on directory without read permission. 2019-01-05 12:34:40 +01:00
tlog tlog: disable color codes when switching to syslog 2018-10-17 22:34:30 +02:00