Can't see folders that start with a dot

What is the problem you are having with rclone?

rclone is unable to see folders that start with a dot/period. This is in my home folder and i have full permission. It works fine if i rename the folder and remove the dot. I need to be able to keep the dot to make it a hidden folder. If i run ls ~/.temp I can read it just fine but rclone ls ~/.temp fails with permission denied.

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

rclone v1.68.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-122-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: snap

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

SFTP

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

rclone ls ~/.temp

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[gtx-main-v99]
type = sftp
host = XXX
pass = XXX
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

rclone ls -vv ~/.temp/
2024/10/23 03:35:20 DEBUG : rclone: Version "v1.68.1" starting with parameters ["/snap/rclone/516/bin/rclone" "ls" "-vv" "/home/validator/.temp/"]
2024/10/23 03:35:20 DEBUG : Creating backend with remote "/home/validator/.temp/"
2024/10/23 03:35:20 DEBUG : Using config file from "/home/validator/snap/rclone/516/.config/rclone/rclone.conf"
2024/10/23 03:35:20 DEBUG : fs cache: renaming cache item "/home/validator/.temp/" to be canonical "/home/validator/.temp"
2024/10/23 03:35:20 ERROR : : failed to open directory "": open /home/validator/.temp: permission denied
2024/10/23 03:35:20 DEBUG : 4 go routines active
2024/10/23 03:35:20 NOTICE: Failed to ls: failed to open directory "": open /home/validator/.temp: permission denied

It is not rclone limitation:

$ rclone ls ~/.temp
        0 file_in_temp.txt

your error message tells you exact reason of your issue:

Sort out your permissions.

Snap installed rclone has very limited permissions (as any other app installed this way). Either modify permissions in snap app or uninstall it and install rclone directly from rclone website.

I removed snap and used the installer script from the website. All good now

Yeah. Snap installed apps are severely restricted. Often to the point of making them useless. Especially for utility tools like rclone.

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