libgocryptfs/internal
Val c9e4e4f741 Fix reverse gocryptfs.conf access on macOS
Unlike the FUSE implementation on Linux, macFUSE doesn't cache the file
attributes from the `LOOKUP` call, so it calls `GETATTR` prior to
accessing a file.

In the case of the `VirtualConfNode` (reverse config file passthrough),
this resulted in the default `GETATTR` implementation returning an empty
result, ultimately resulting in a "permission denied" error.

    14:44:14.095207 rx 3: GETATTR n2
    14:44:14.095229 tx 3:     OK, {tA=1s {M0100000 SZ=0 L=0 0:0 0 0:8954996 A 0.000000 M 0.000000 C 0.000000}}
    14:44:14.099943 rx 4: ACCESS n2 {u=501 g=20 r}
    14:44:14.099990 tx 4:     13=permission denied

By impementing `Getattr` (from `fs.NodeGetattrer`) on `VirtualConfNode`
this solves the issue.
2022-04-02 15:15:04 +02:00
..
configfile docs: names longer than 175 bytes (not 176) are stored in longnames 2021-11-01 14:44:32 +01:00
contentenc cli: drop -forcedecode flag 2021-09-10 12:14:19 +02:00
cryptocore cryptocore: simplify declarations 2021-09-28 18:35:37 +02:00
ctlsocksrv go mod: declare module version v2 2021-08-23 15:05:15 +02:00
ensurefds012 Unbreak hyperlinks broken by go mod v2 conversion 2021-08-30 11:31:01 +02:00
exitcodes Add support for FIDO2 tokens 2020-09-12 18:06:54 +02:00
fido2 go mod: declare module version v2 2021-08-23 15:05:15 +02:00
fusefrontend fusefrontend: support RENAME_WHITEOUT, RENAME_EXCHANGE 2022-01-22 12:28:27 +01:00
fusefrontend_reverse Fix reverse gocryptfs.conf access on macOS 2022-04-02 15:15:04 +02:00
inomap inomap: deterministically set root device 2021-09-10 17:17:16 +02:00
nametransform nametransform: fix oversight in comment 2021-12-19 14:50:52 +01:00
openfiletable go mod: declare module version v2 2021-08-23 15:05:15 +02:00
pathiv go mod: declare module version v2 2021-08-23 15:05:15 +02:00
readpassword readpassword: bubble up errors instead of exiting the process 2022-01-03 15:18:59 +01:00
siv_aead cryptocore: add NonceSize to AEADTypeEnum 2021-08-23 22:10:23 +02:00
speed cryptocore: disentangle algorithm / library implementation name 2021-09-28 18:09:31 +02:00
stupidgcm stupidgcm: add CpuHasAES() 2021-09-14 18:58:04 +02:00
syscallcompat root_test: add TestOverlay ; syscallcompat: add QuirkNoUserXattr 2022-01-27 15:44:09 +01:00
tlog tlog: only enable color if both stderr and stdout are a terminal 2021-12-11 15:37:13 +01:00