fusefrontend: Do not pass unsupported flags to Faccessat on macOS.
Fixes mounting of forward mounts on macOS High Sierra.
This commit is contained in:
parent
711ef81bfb
commit
d44fe89ba4
@ -620,7 +620,7 @@ func (fs *FS) Access(relPath string, mode uint32, context *fuse.Context) (code f
|
||||
if err != nil {
|
||||
return fuse.ToStatus(err)
|
||||
}
|
||||
err = unix.Faccessat(dirfd, cName, mode, unix.AT_SYMLINK_NOFOLLOW)
|
||||
err = syscallcompat.Faccessat(dirfd, cName, mode)
|
||||
syscall.Close(dirfd)
|
||||
return fuse.ToStatus(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user