From bfdbbbf8b476c810ac9d5c47a7fa6f7cc8904a55 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 8 Sep 2015 22:53:06 +0200 Subject: Fix panic on absolute symlink --- pathfs_frontend/fs.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pathfs_frontend/fs.go') diff --git a/pathfs_frontend/fs.go b/pathfs_frontend/fs.go index 2f73462..0c1d879 100644 --- a/pathfs_frontend/fs.go +++ b/pathfs_frontend/fs.go @@ -134,6 +134,7 @@ func (fs *FS) Rmdir(name string, context *fuse.Context) (code fuse.Status) { func (fs *FS) Symlink(pointedTo string, linkName string, context *fuse.Context) (code fuse.Status) { // TODO symlink encryption + cryptfs.Debug.Printf("Symlink(\"%s\", \"%s\")\n", pointedTo, linkName) return fs.FileSystem.Symlink(fs.EncryptPath(pointedTo), fs.EncryptPath(linkName), context) } -- cgit v1.2.3