reverse: gocryptfs.diriv content was generated from wrong path
Should be derived from the directory name only.
This commit is contained in:
parent
7faa267bd4
commit
ce22ab36e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user