summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-09-20 16:27:39 +0200
committerJakob Unterwurzacher2016-09-25 16:43:17 +0200
commitce22ab36e1696b1fbbad077b0cb16a7278a20265 (patch)
treef471a8317a867e3891f06ff441731d1cc7ec3559 /internal
parent7faa267bd48940a2ae1bd3f672f349179d3758c7 (diff)
reverse: gocryptfs.diriv content was generated from wrong path
Should be derived from the directory name only.
Diffstat (limited to 'internal')
-rw-r--r--internal/fusefrontend_reverse/rfs.go2
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