diff --git a/vfs/vfscache/cache.go b/vfs/vfscache/cache.go index a1bc6ee1f..66852e9ec 100644 --- a/vfs/vfscache/cache.go +++ b/vfs/vfscache/cache.go @@ -97,6 +97,7 @@ func New(ctx context.Context, fremote fs.Fs, opt *vfscommon.Options, avFn AddVir } } relativeDirPath = fremote.Name() + "/" + relativeDirPath + relativeDirPath = clean(relativeDirPath) relativeDirOSPath := toOSPath(relativeDirPath) // Create cache root dirs