Failed to set modification time: Chtimes

What is the problem you are having with rclone?

I am getting error messages if I copy files from Gdrive (Shared drive) to mounted (CIFS) network drive.
example: 2021/05/04 11:38:11 ERROR : CrystalDiskInfo8_0_0.exe: Failed to set modification time: chtimes /media/backdrive/CrystalDiskInfo8_0_0.exe: operation not permitted

The copying actually work, but I see error messages chtimes. I use Ubuntu server 20.04

What is your rclone version (output from rclone version)

rclone version
rclone v1.55.1

  • os/type: linux
  • os/arch: amd64
  • go/version: go1.16.3
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using?

Google Drive

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

rclone copy TestovaciDisk: /media/backdrive

The rclone config contents with secrets removed.

[TestovaciDisk]
type = drive
client_id = 
client_secret =
scope = drive.readonly
token = 
team_drive = 0AG-0R9iWqC7jUk9PVA
root_folder_id =

A log from the command with the -vv flag

2021/05/04 11:59:41 DEBUG : Using config file from "/home/ice/.config/rclone/rclone.conf"
2021/05/04 11:59:41 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "copy" "TestovaciDisk:" "/media/backdrive" "-vv"]
2021/05/04 11:59:41 DEBUG : Creating backend with remote "TestovaciDisk:"
2021/05/04 11:59:41 DEBUG : Creating backend with remote "/media/backdrive"
2021/05/04 11:59:41 DEBUG : TestovaciDisk: Loaded invalid token from config file - ignoring
2021/05/04 11:59:41 DEBUG : Saving config "token" = 
2021/05/04 11:59:41 DEBUG : TestovaciDisk: Saved new token in config file
2021/05/04 11:59:42 DEBUG : CrystalDiskInfo8_0_0.exe: Modification times differ by 12363h32m52.6556451s: 2019-12-06 07:13:30.286 +0000 UTC, 2021-05-04 10:46:22.9416451 +0000 UTC
2021/05/04 11:59:42 DEBUG : CrystalDiskInfo8_0_0.exe: MD5 = 78d1c9ef0f79e5e5bc1dda408b30b62c OK
2021/05/04 11:59:42 ERROR : CrystalDiskInfo8_0_0.exe: Failed to set modification time: chtimes /media/backdrive/CrystalDiskInfo8_0_0.exe: operation not permitted
2021/05/04 11:59:42 DEBUG : CrystalDiskInfo8_0_0.exe: Unchanged skipping
2021/05/04 12:00:01 DEBUG : Local file system at /media/backdrive: Waiting for transfers to finish
2021/05/04 12:00:01 INFO  : 
Transferred:      147.510k / 147.510 kBytes, 100%, 7.998 kBytes/s, ETA 0s
Errors:                16 (retrying may help)
Checks:                48 / 48, 100%
Elapsed time:        19.8s

2021/05/04 12:00:01 DEBUG : 29 go routines active

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