fusefrontend: Use appropriate flags in decryptPathAt.
This commit is contained in:
parent
c0640ff3ef
commit
0414ef2572
|
@ -91,7 +91,7 @@ func (fs *FS) decryptPathAt(dirfd int, cipherPath string) (plainPath string, err
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
// Descend into next directory
|
// Descend into next directory
|
||||||
wd, err = syscallcompat.Openat(wd, part, syscall.O_NOFOLLOW, 0)
|
wd, err = syscallcompat.Openat(wd, part, syscall.O_NOFOLLOW|syscall.O_DIRECTORY|syscallcompat.O_PATH, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue