What is the problem you are having with rclone?
How can I configure rclone / Google Drive to grant fine-grained read-write privileges to rclone?
The situation is: I have been granted access to a Google Drive shared folder.
Inside this folder there are folders for related to different projects, e.g.:
I followed the Google Drive tutorial (https://rclone.org/drive/) and was able to download the shared folder to my server and to upload my server files to shared/muh_project/
The problem is: right now, rclone has read and write privileges to the entire shared folder and I am scared about the possibility of messing up the other projects.
How can I configure rclone / Google drive so that:
- rclone only has access /shared (I don't want it to be able to access other Google Driver folders)
- rclone has read-only access to everything inside /shared
- rclone has read-write access to /shared/muh_project
What is your rclone version (output from
- os/arch: linux/amd64
- go version: go1.15.5
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu Server 20.04 - 64 bit
CentOS Linux 7 (Core) - 64 bit
Windows 10 - 64 bit
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg
rclone copy /tmp remote:tmp)
~/rclone-v1.53.3-linux-amd64/rclone sync -v --create-empty-src-dirs biomaldrive:shared/ ~/synced
The rclone config contents with secrets removed.
[biomaldrive] type = drive scope = drive root_folder_id = 1_hllszokyUVztOBGUbTZrCrNJ4NsTJHJ token = removed