From 2841ec0fcd83bc956afec9c8d9a0e8f443e2cf46 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 6 May 2024 23:19:43 +0200 Subject: [PATCH] fix(fuse): ipfs path parsing (#10243) --- fuse/readonly/readonly_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuse/readonly/readonly_unix.go b/fuse/readonly/readonly_unix.go index 9dca9c1a9b2..32be8b1238f 100644 --- a/fuse/readonly/readonly_unix.go +++ b/fuse/readonly/readonly_unix.go @@ -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)