From 436f918c21a0858c769e1bf7d86502a05132b4e7 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 4 Nov 2018 22:25:32 +0100 Subject: fusefrontend: make Rmdir symlink-safe Now uses Unlinkat. --- internal/fusefrontend/fs.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/fusefrontend/fs.go') diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go index 2108ea4..444a34a 100644 --- a/internal/fusefrontend/fs.go +++ b/internal/fusefrontend/fs.go @@ -502,6 +502,8 @@ func (fs *FS) Symlink(target string, linkName string, context *fuse.Context) (co } // Rename - FUSE call. +// +// Symlink-safe through Renameat(). func (fs *FS) Rename(oldPath string, newPath string, context *fuse.Context) (code fuse.Status) { if fs.isFiltered(newPath) { return fuse.EPERM -- cgit v1.2.3