What is the problem you are having with rclone?
I would like to mount an Google Drive on CentOS. Unfortunally it seems that I don't have access to the mounted folder.
Run the command 'rclone version' and share the full output of the command.
rclone v1.63.0-beta.6929.bd46f01eb
- os/version: centos 8 (64 bit)
- os/kernel: 4.18.0-408.el8.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount GoogleDrive: /usr/share/audiobookshelf/gdrive -vv --dump headers
The rclone config contents with secrets removed.
[GoogleDrive]
type = drive
client_id = 705808218904-qakdp2mref9i6g7sp0rda6qctf76c439.apps.googleusercontent.com
client_secret = SECRET
scope = drive.readonly
token = {"access_token":"ya29.a0Ael9sCOmYQdudIWJWaq_4NgkH-9Vbn_FL7HGJJFxkPuGcVcWjtys22kvYOITHgMBsCrdsNu4JRPmN0wohf05ERLmXDp4hffsmb34ZD0ynzKePqcq8Do_KegEZHwpRBta3OqY2KWXsyLOPW2Mma5OmWU1zi4gd71waCgYKAS8SARASFQF4udJhdhpV-VDBkStNrxK_yV4pyw0167","token_type":"Bearer","refresh_token":"1//09akYAC-p_N7PCgYIARAAGAkSNwF-L9IrYV6oWsSi1j7VVge3w70v9BIN09OetYEL8A4CfbkQUYSnoFYGUh1FhiGOZMWmti0owtk","expiry":"2023-03-28T22:25:02.980899656Z"}
team_drive =
A log from the command with the -vv
flag
2023/03/28 21:28:55 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<
2023/03/28 21:28:55 DEBUG : Google drive root '': 'root_folder_id = 0AH7gFlCDI28 rUk9PVA' - save this in the config to speed up startup
2023/03/28 21:28:55 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
2023/03/28 21:28:55 DEBUG : HTTP REQUEST (req 0xc000524e00)
2023/03/28 21:28:55 DEBUG : GET /drive/v3/changes/startPageToken?alt=json&pretty Print=false&supportsAllDrives=true HTTP/1.1
Host: www.googleapis.com
User-Agent: rclone/v1.63.0-beta.6929.bd46f01eb
Authorization: XXXX
X-Goog-Api-Client: gl-go/1.20.2 gdcl/0.114.0
Accept-Encoding: gzip
2023/03/28 21:28:55 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>
2023/03/28 21:28:55 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<
2023/03/28 21:28:55 DEBUG : HTTP RESPONSE (req 0xc000524e00)
2023/03/28 21:28:55 DEBUG : HTTP/1.1 200 OK
Transfer-Encoding: chunked
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Type: application/json; charset=UTF-8
Date: Tue, 28 Mar 2023 21:28:55 GMT
Expires: Mon, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Server: ESF
Vary: Origin, X-Origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
2023/03/28 21:28:55 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<
2023/03/28 21:28:55 DEBUG : Google drive root '': Mounting on "/usr/share/audiobookshelf/gdrive/ "
2023/03/28 21:28:55 DEBUG : : Root:
2023/03/28 21:28:55 DEBUG : : >Root: node=/, err=<nil>