t0x1c
(Hansi)
1
- 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.
asdffdsa
(jojothehumanmonkey)
2
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
t0x1c
(Hansi)
3
oops .. sorry, had a c&p failure.
the script looks like
asdffdsa
(jojothehumanmonkey)
4
what is the output of
ls -l /cache
?
this is a guide that might help
https://phoenixnap.com/kb/linux-file-permissions
t0x1c
(Hansi)
5
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
asdffdsa
(jojothehumanmonkey)
6
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
t0x1c
(Hansi)
7
thx .. chmod fixed the issue.
system
(system)
Closed
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.