Skip to content

Commit

Permalink
fix(fuse): ipfs path parsing (#10243)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias authored May 6, 2024
1 parent 65ff619 commit 2841ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuse/readonly/readonly_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *Root) Lookup(ctx context.Context, name string) (fs.Node, error) {
return nil, syscall.Errno(syscall.ENOENT)
}

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

0 comments on commit 2841ec0

Please sign in to comment.