Failed to create vfs - cache

  • rclone v1.56.1
  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.11.0-36-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.16.8
  • go/linking: static
  • go/tags: none

I recently had the following in the log file,

--- rclone.conf --

-- vfs folder --

in the vfs-folder is only my other google drive.

hi,
not an expert at systemd, but this looks like a simple file/folder permission issue, not a rclone issue.

whichever user is used to run the systemd service, does not have permission to access /cache

this systemd service would be a good example to use
https://github.com/animosity22/homescripts/blob/master/systemd/rclone.service

notice that it has

User=felix
Group=felix

oops .. sorry, had a c&p failure.

the script looks like

what is the output of
ls -l /cache?

this is a guide that might help
https://phoenixnap.com/kb/linux-file-permissions

output of ls -l /cache

insgesamt 8
drwx------ 3 root root 4096 Sep 25 23:48 vfs
drwx------ 3 root root 4096 Aug 25 03:29 vfsMeta

i see that at some folders inside /cache
did you run rclone on the command line as root or what?

again, not an expert but to access that folder

  • run rclone as root
    or
  • use chmod/chown to change the permissions

thx .. chmod fixed the issue.

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