summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/fusefrontend/fs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go
index 3f35eb1..0f3d940 100644
--- a/internal/fusefrontend/fs.go
+++ b/internal/fusefrontend/fs.go
@@ -630,6 +630,7 @@ func (fs *FS) Access(relPath string, mode uint32, context *fuse.Context) (code f
return fuse.ToStatus(err)
}
err = unix.Faccessat(dirfd, cName, mode, unix.AT_SYMLINK_NOFOLLOW)
+ syscall.Close(dirfd)
return fuse.ToStatus(err)
}