diff options
| author | Jakob Unterwurzacher | 2018-11-04 22:25:32 +0100 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2019-01-01 16:24:25 +0100 |
| commit | 436f918c21a0858c769e1bf7d86502a05132b4e7 (patch) | |
| tree | 3ba09841716df16e0ff83a984ab7bc86de710a12 /internal/fusefrontend/fs.go | |
| parent | 2de3851abddd26949b72b9b255ce836fc93ed284 (diff) | |
fusefrontend: make Rmdir symlink-safe
Now uses Unlinkat.
Diffstat (limited to 'internal/fusefrontend/fs.go')
| -rw-r--r-- | internal/fusefrontend/fs.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
