summaryrefslogtreecommitdiff
path: root/pathfs_frontend
diff options
context:
space:
mode:
Diffstat (limited to 'pathfs_frontend')
-rw-r--r--pathfs_frontend/fs.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/pathfs_frontend/fs.go b/pathfs_frontend/fs.go
index 2ae066f..247b69e 100644
--- a/pathfs_frontend/fs.go
+++ b/pathfs_frontend/fs.go
@@ -112,7 +112,11 @@ func (fs *FS) Chmod(path string, mode uint32, context *fuse.Context) (code fuse.
}
func (fs *FS) Chown(path string, uid uint32, gid uint32, context *fuse.Context) (code fuse.Status) {
- return fs.FileSystem.Chmod(fs.EncryptPath(path), gid, context)
+ return fs.FileSystem.Chown(fs.EncryptPath(path), uid, gid, context)
+}
+
+func (fs *FS) Mknod(name string, mode uint32, dev uint32, context *fuse.Context) (code fuse.Status) {
+ return fs.FileSystem.Mknod(fs.EncryptPath(name), mode, dev, context)
}
func (fs *FS) Truncate(path string, offset uint64, context *fuse.Context) (code fuse.Status) {
@@ -136,10 +140,6 @@ func (fs *FS) Readlink(name string, context *fuse.Context) (out string, status f
return dstPlain, status
}
-func (fs *FS) Mknod(name string, mode uint32, dev uint32, context *fuse.Context) (code fuse.Status) {
- return fs.FileSystem.Mknod(fs.EncryptPath(name), mode, dev, context)
-}
-
func (fs *FS) Mkdir(path string, mode uint32, context *fuse.Context) (code fuse.Status) {
return fs.FileSystem.Mkdir(fs.EncryptPath(path), mode, context)
}