diff options
author | Sebastian Lackner | 2019-01-13 00:53:02 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2019-01-13 14:10:34 +0100 |
commit | d44fe89ba4f3252c5bd00c4f7730197732f2a26a (patch) | |
tree | dde661d8b7b8460e006206a47d6fded3b5ef1079 | |
parent | 711ef81bfba7c95cf8da71f0086d9514164cf3ce (diff) |
fusefrontend: Do not pass unsupported flags to Faccessat on macOS.
Fixes mounting of forward mounts on macOS High Sierra.
-rw-r--r-- | internal/fusefrontend/fs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go index eb14335..1d59eb3 100644 --- a/internal/fusefrontend/fs.go +++ b/internal/fusefrontend/fs.go @@ -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) } |