From d4b7f42c3bb734aec207d10f4addf56e0b59fee2 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 4 Nov 2018 22:31:55 +0100 Subject: fusefrontend: mark Truncate, Unlink, Symlink symlink-safe No changes needed. --- internal/fusefrontend/xattr.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/fusefrontend/xattr.go') diff --git a/internal/fusefrontend/xattr.go b/internal/fusefrontend/xattr.go index a0f795a..74b3790 100644 --- a/internal/fusefrontend/xattr.go +++ b/internal/fusefrontend/xattr.go @@ -50,7 +50,10 @@ func (fs *FS) GetXAttr(path string, attr string, context *fuse.Context) ([]byte, return data, fuse.OK } -// SetXAttr implements pathfs.Filesystem. +// SetXAttr - FUSE call. +// +// TODO: Make symlink-safe. Currently blocked because the xattr package does +// not provide fsetxattr. func (fs *FS) SetXAttr(path string, attr string, data []byte, flags int, context *fuse.Context) fuse.Status { if fs.isFiltered(path) { return fuse.EPERM -- cgit v1.2.3