reverse: gocryptfs.diriv content was generated from wrong path

Should be derived from the directory name only.
This commit is contained in:
Jakob Unterwurzacher 2016-09-20 16:27:39 +02:00
parent 7faa267bd4
commit ce22ab36e1
1 changed files with 1 additions and 1 deletions

View File

@ -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