diff options
author | Jakob Unterwurzacher | 2016-09-20 16:27:39 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-09-25 16:43:17 +0200 |
commit | ce22ab36e1696b1fbbad077b0cb16a7278a20265 (patch) | |
tree | f471a8317a867e3891f06ff441731d1cc7ec3559 | |
parent | 7faa267bd48940a2ae1bd3f672f349179d3758c7 (diff) |
reverse: gocryptfs.diriv content was generated from wrong path
Should be derived from the directory name only.
-rw-r--r-- | internal/fusefrontend_reverse/rfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend_reverse/rfs.go b/internal/fusefrontend_reverse/rfs.go index d07971a..465ec07 100644 --- a/internal/fusefrontend_reverse/rfs.go +++ b/internal/fusefrontend_reverse/rfs.go @@ -136,7 +136,7 @@ func (rfs *reverseFS) Access(relPath string, mode uint32, context *fuse.Context) func (rfs *reverseFS) Open(relPath string, flags uint32, context *fuse.Context) (fuseFile nodefs.File, status fuse.Status) { if isDirIV(relPath) { - return NewDirIVFile(relPath) + return NewDirIVFile(relDir(relPath)) } if rfs.isFiltered(relPath) { return nil, fuse.EPERM |