mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
fix(fuse): ipfs path parsing (#10243)
This commit is contained in:
parent
65ff619629
commit
2841ec0fcd
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user