diff --git a/server/internal/core/mount.go b/server/internal/core/mount.go index 95354b2f..d3486f2f 100644 --- a/server/internal/core/mount.go +++ b/server/internal/core/mount.go @@ -8,7 +8,7 @@ import ( ) func (f FileSystem) CreateMount(path string, backend storage.Backend) error { - r, err := f.ResourceByPath(path) + r, err := f.ResourceByPathWithRoot(path) if err != nil { fmt.Println("failed to locate resource: " + err.Error()) os.Exit(1)