Skip to content

Commit 2841ec0

Browse files
authored
fix(fuse): ipfs path parsing (#10243)
1 parent 65ff619 commit 2841ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fuse/readonly/readonly_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (s *Root) Lookup(ctx context.Context, name string) (fs.Node, error) {
6262
return nil, syscall.Errno(syscall.ENOENT)
6363
}
6464

65-
p, err := path.NewPath(name)
65+
p, err := path.NewPath("/ipfs/" + name)
6666
if err != nil {
6767
log.Debugf("fuse failed to parse path: %q: %s", name, err)
6868
return nil, syscall.Errno(syscall.ENOENT)

0 commit comments

Comments
 (0)