What is the problem you are having with rclone?
Mounting the OneDrive volume works fine, and the local user can both read and write. What we need is Apps on the system to have write permissions. We have applications and scripts that process files and they need to be able to write back to OneDrive. Permission is always denied no matter what we try.
Run the command 'rclone version' and share the full output of the command.
rclone v1.72.0
- os/version: centos 7.7.1908 (64 bit)
- os/kernel: 3.10.0-1062.9.1.el7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
OneDrive Corporate
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone mount OneDrive: ~/OneDrive --vfs-cache-mode=writes --allow-other --dir-perms 777
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
---OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = business
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv flag
2025/12/09 12:00:41 DEBUG : rclone: Version "v1.72.0" starting with parameters ["rclone" "mount" "OneDrive:" "/root/OneDrive" "--vfs-cache-mode=writes" "--allow-other" "--dir-perms" "777" "-vv"]
2025/12/09 12:00:41 DEBUG : Creating backend with remote "OneDrive:"
2025/12/09 12:00:41 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2025/12/09 12:00:41 DEBUG : OneDrive: Token expired
2025/12/09 12:00:41 DEBUG : OneDrive: No updated token found in the config file
2025/12/09 12:00:42 DEBUG : OneDrive: Token refresh successful
2025/12/09 12:00:42 DEBUG : Saving config "token" in section "OneDrive" of the config file
2025/12/09 12:00:42 DEBUG : OneDrive: Saved new token in config file
2025/12/09 12:00:42 DEBUG : OneDrive root '': Next delta token is: NDslMjM0OyUyMzE7Mzs4YTQ1ZWIzMy00MTBmLTQ5OGQtOTI4ZS1jMDg5YWYzNjIzMGU7NjM5MDA4OTY0NDI2NjAwMDAwOzE2NDAwMTA1MzI7JTIzOyUyMzslMjMwOyUyMw
2025/12/09 12:00:42 DEBUG : OneDrive root '': vfs cache: root is "/root/.cache/rclone"
2025/12/09 12:00:42 DEBUG : OneDrive root '': vfs cache: data root is "/root/.cache/rclone/vfs/OneDrive"
2025/12/09 12:00:42 DEBUG : OneDrive root '': vfs cache: metadata root is "/root/.cache/rclone/vfsMeta/OneDrive"
2025/12/09 12:00:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/root/.cache/rclone/vfs/OneDrive/"
2025/12/09 12:00:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/12/09 12:00:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/root/.cache/rclone/vfs/OneDrive/" to be canonical ":local{8un-i}:/root/.cache/rclone/vfs/OneDrive"
2025/12/09 12:00:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/root/.cache/rclone/vfsMeta/OneDrive/"
2025/12/09 12:00:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/12/09 12:00:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/root/.cache/rclone/vfsMeta/OneDrive/" to be canonical ":local{8un-i}:/root/.cache/rclone/vfsMeta/OneDrive"
2025/12/09 12:00:42 INFO : OneDrive root '': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/12/09 12:00:42 DEBUG : OneDrive root '': Mounting on "/root/OneDrive"
2025/12/09 12:00:42 DEBUG : Root:
2025/12/09 12:00:42 DEBUG : >Root: node=/, err=<nil>
2025/12/09 12:00:42 DEBUG : /: Lookup: name=".Trash"
2025/12/09 12:00:43 DEBUG : Paul @ Save On Everything: OneNote file not shown in directory listing
2025/12/09 12:00:43 DEBUG : /: >Lookup: node=.Trash/, err=<nil>
2025/12/09 12:00:43 DEBUG : .Trash/: Attr:
2025/12/09 12:00:43 DEBUG : .Trash/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2025/12/09 12:00:43 DEBUG : .Trash/: Lookup: name="0"
2025/12/09 12:00:43 DEBUG : /: Lookup: name="BDMV"
2025/12/09 12:00:43 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2025/12/09 12:00:43 DEBUG : /: Lookup: name=".xdg-volume-info"
2025/12/09 12:00:43 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2025/12/09 12:00:43 DEBUG : /: Lookup: name="autorun.inf"
2025/12/09 12:00:43 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : .Trash/: >Lookup: node=<nil>, err=no such file or directory
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: Lookup: name=".Trash-0"
2025/12/09 12:00:43 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: ReadDirAll:
2025/12/09 12:00:43 DEBUG : /: >ReadDirAll: item=240, err=<nil>
2025/12/09 12:00:43 DEBUG : /: Lookup: name="autorun.inf"
2025/12/09 12:00:43 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
