OpenDrive, uploading as public file

What is the problem you are having with rclone?

When I upload/sync a file to OpenDrive, the file uploads as private despite any settings on the folder.

Run the command 'rclone version' and share the full output of the command.

rclone v1.69.0
- os/version: nobara 41 (64 bit)
- os/kernel: 6.12.9-207.nobara.fc41.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.4
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

OpenDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy -P "file.mp4" "opendrive:/Videos"

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[gdrive]
type = drive
client_id = XXX
client_secret = XXX
token = XXX
team_drive = 

[opendrive]
type = opendrive
password = XXX
username = XXX

A log from the command that you were trying to run with the -vv flag

2025/01/23 21:41:19 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "copy" "-P" "-vv" "file.mp4" "opendrive:/Videos"]
2025/01/23 21:41:19 DEBUG : Creating backend with remote "file.mp4"
2025/01/23 21:41:19 DEBUG : Using config file from "/home/tyler/.config/rclone/rclone.conf"
2025/01/23 21:41:19 DEBUG : fs cache: renaming child cache item "file.mp4" to be canonical for parent "/run/media/tyler/B891-B8CA/video"
2025/01/23 21:41:19 DEBUG : Creating backend with remote "opendrive:/Videos"
2025/01/23 21:41:19 DEBUG : Starting OpenDrive session with ID: a48d3fbdcdbadfd08a4e704b066709f22db310d75f25c67c14ecdd6c14826fc5
2025/01/23 21:41:19 DEBUG : fs cache: renaming cache item "opendrive:/Videos" to be canonical "opendrive:Videos"
2025/01/23 21:41:20 DEBUG : file.mp4: Need to transfer - File not found at Destination
2025/01/23 21:41:20 DEBUG : file.mp4: Uploading chunk 0, size=1100514, remain=0
2025/01/23 21:41:21 DEBUG : file.mp4: md5 = 5ae9c4f70d71b46eb74ad28254f1b268 OK
2025/01/23 21:41:21 INFO  : file.mp4: Copied (new)
Transferred:   	   1.050 MiB / 1.050 MiB, 100%, 1.050 MiB/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:         1.8s
2025/01/23 21:41:21 INFO  : 
Transferred:   	   1.050 MiB / 1.050 MiB, 100%, 1.050 MiB/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:         1.8s

2025/01/23 21:41:21 DEBUG : 7 go routines active

Notes

I am aware there are two other similar topics:

  1. When copying files to Opendrive, is it possible to copy parent folder permissions?
  2. When copying files to Opendrive, set Access Permission?

However, the first topic seems to have never implemented the --opendrive-access flag mentioned, and the second one is a stub.

welcome to the forum,

that is how rclone works.
for a deeper look at the api calls, --dump=headers

rclone is open source, you are welcome to implement the feature yourself, sponsor that or open a new issue at github

Alright, figured as much but made a forum post just in case I'm missing something. Unfortunately I don't know Go, but I just sponsored and will be making an issue in a bit, thx.

1 Like

nice!
after creating that issue, please post the weblink here.

when creating that issue, to make sure easier for the developers,
post the full output of rclone.log

rclone copy "file.mp4" "opendrive:/Videos --dump=headers --log-level=DEBUG --log-file=~/rclone.log"

Sorry if I'm just blind but I don't see a spot to put this at. Also I'm not at my computer right now :sweat_smile: but I can add this log in a couple hours.

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