Skip to content

Commit

Permalink
fuse: fix ipfs path parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Dec 6, 2023
1 parent 1a89365 commit fcbdb69
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 fcbdb69

Please sign in to comment.