ERROR : ... Failed to copy: mkdir ... permission denied

What is the problem you are having with rclone?

This morning I upgraded my PC from Fedora 40 to 41.
Then I updated rclone:
$ sudo rclone selfupdate --stable
2024/12/01 00:31:20 NOTICE: Successfully updated rclone from version v1.67.0 to version v1.68.2

Ever since then, rclone no longer makes backups to my USB drive.
For every attempted file back up, there is a message similar this:
2024/12/01 08:07:03 ERROR : home/wolfv/Documents/Arduino/keybrd_proj/keybrd/.git/objects/fd/fc67377acab942b324d098d9026fe1b34a0b4b: Failed to copy: mkdir /run/media/wolfv: permission denied

I didn't change any permissions.
Probably either the Fedora upgrade or the rclone selfupdate changed something to cause the issue.
Where do I start troubleshooting?

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

rclone v1.68.2

  • os/version: fedora 41 (64 bit)
  • os/kernel: 6.11.10-300.fc41.x86_64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.3
  • go/linking: static
  • go/tags: none

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

OneDrive
(cloud storage is not relvent to this, I am using local_drive which is a local USB drive)

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

rclone sync / local_drive:/run/media/wolfv/big_stick/backup_scheduled_wolfv/last_snapshot --backup-dir=local_drive:/run/media/wolfv/big_stick/backup_scheduled_wolfv/old_files --suffix=_2024-12-01_08.06.37 --log-file=/home/wolfv/Documents/pc_maintenance/backup_systems/rclone_wolf/rclone_jobber.log --filter-from=/home/wolfv/Documents/pc_maintenance/backup_systems/rclone_wolf/filter_rules_scheduled --checksum --log-level=ERROR

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

[gdrive_ingevolpi]
type = drive
client_id = XXX
client_secret = XXX
scope = drive.readonly
token = XXX
team_drive = 

[gdrive_jamesnordyke]
type = drive
client_id = XXX
client_secret = XXX
scope = drive.readonly
token = XXX
team_drive = 

[gdrive_wolfvolpi]
type = drive
client_id = XXX
client_secret = XXX
scope = drive.readonly
token = XXX
team_drive = 

[local_drive]
type = local
nounc = true

[onedrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

[onedrive_test_rclone_backup_crypt]
type = crypt
remote = onedrive:test_rclone_backup
filename_encryption = standard
directory_name_encryption = true
password = XXX
password2 = XXX

[onedrive_wolfv_backup_crypt]
type = crypt
remote = onedrive:wolfv_backup
filename_encryption = standard
directory_name_encryption = false
password = XXX
password2 = XXX
### 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

https://gist.github.com/wolfv6/4b40886286f8d23aa66a35fa66140688

hi,

i checked the debug log you posted, zero errors???

It's working now. I didn't reboot or change anything.

Thanks for looking at the log.

welcome, os upgrades can do one-time wacky things.

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