1.65 fails listing local folders

What is the problem you are having with rclone?

when working with local files rlone 1.65 fails where 1.64 worked fine

Run the command 'rclone version' and share the full output of the command.

rclone v1.65.0

  • os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
  • os/kernel: 10.0.19045.3031 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

local drives

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsf C:\

The rclone config contents with secrets removed.

none necessary

A log from the command with the -vv flag

R:\_Transfer\1.65>rclone lsf C:\ -vv
2023/11/28 20:53:55 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "lsf" "C:\\" "-vv"]
2023/11/28 20:53:55 DEBUG : Creating backend with remote "C:\\"
2023/11/28 20:53:55 DEBUG : Using config file from "C:\\Users\\[snipped]\\AppData\\Roaming\\rclone\\rclone.conf"
2023/11/28 20:53:55 DEBUG : fs cache: renaming cache item "C:\\" to be canonical "//?/C:/"
2023/11/28 20:53:55 ERROR : : error listing: directory not found
2023/11/28 20:53:55 DEBUG : 2 go routines active
2023/11/28 20:53:55 Failed to lsf with 2 errors: last error was: error in ListJSON: directory not found```

Oh... This is almost certainly a go bug which was introduced in go1.21.4 and will be fixed when go1.21.5 is released.

@albertony would you agree?

1 Like

It's easy to roll back to 1.64 but any ETA for that new "go" version?

Yes. Looks definitely like that same filepath.Clean issue, which you recently handled in the MkdirAll implementation.

Seems to me we can expect it next week:

Release History - The Go Programming Language (golang.org)

Go1.21.5 Milestone (github.com)


@rcRsc can you open a new issue on Github about this please? So we don't forget to check that go1.21.5 does fix the problem.

Otherwise we'll have to look for a workaround.


done as requested.

1 Like

as a workaround,

mklink /j d:\root c:\

E:\>type c:\file.ext
rclone rocks!

E:\>c:\data\rclone\rclone.exe cat d:\root\file.ext
rclone rocks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.