[gdrive]
type = drive
client_id = XX
client_secret = XX
scope = drive
token = {"access_token":"XX","token_type":"Bearer","refresh_token":"XX"}
--------------------
Edit remote
** See help for drive backend at: https://rclone.org/drive/ **
Value "client_id" = "XX"
Hey!
I have some permission issues with my Sonarr/Radarr on my VPS server running Debian 10: when a movie/tvshow is moved by Radarr/Sonarr, no issues so far: owner of the file is 911, but yesterday I moved my folder to have a better organisation and now all of my files are owned by root, so Radarr/Sonarr can't access it.
If you used the template for Help and Support rather than deleting it, I'd give you the exact command because we'd have all the right information to answer it on the first shot.
Sorry I was using the template but found that a lot of question was not so relevant to my problem, and I forgot to mention that I use these script to mount/unmount and upload files : https://github.com/BinsonBuzz/unraid_rclone_mount
I'll edit my post with the template completed!
If you are referring to
--allow-other
It's already in the mount script :
# create rclone mount
rclone mount \
--allow-other \
--buffer-size 256M \
--dir-cache-time 720h \
--drive-chunk-size 512M \
--log-level INFO \
--vfs-read-chunk-size 128M \
--vfs-read-chunk-size-limit off \
--vfs-cache-mode writes \
--bind=$RCloneMountIP \
$RcloneRemoteName: $RcloneMountLocation &
So if you want to change the owner and group as it's running as root, you need to add in:
--uid uint32 Override the uid field set by the filesystem. (default 1000)
--gid uint32 Override the gid field set by the filesystem. (default 1000)
You'd make those numbers the uid and gid of the user you want. In this example, I could use 1000/1000.
felix@gemini:~$ id felix
uid=1000(felix) gid=1000(felix) groups=1000(felix),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),109(render),116(lxd)
The next bit is your umask:
--umask int Override the permission bits set by the filesystem.
You can set if a few ways and 000 lets everyone see everything as it looks like you are own your own server as you are running things as root, that should be ok.
Thanks for this! But how do I choose the user? The only user on my server is root, and I don't know what Radarr/Sonarr use as docker container? Before my mess, ls -al showed owner as 911