aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend/node.go')
-rw-r--r--internal/fusefrontend/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/node.go b/internal/fusefrontend/node.go
index c531876..4f6ae45 100644
--- a/internal/fusefrontend/node.go
+++ b/internal/fusefrontend/node.go
@@ -132,7 +132,7 @@ func (n *Node) Access(ctx context.Context, mode uint32) syscall.Errno {
}
defer syscall.Close(dirfd)
- err := syscallcompat.Faccessat(dirfd, cName, mode)
+ err := unix.Faccessat(dirfd, cName, mode, unix.AT_SYMLINK_NOFOLLOW)
return fs.ToErrno(err)
}