GDrive Create Date Incorrect

What is the problem you are having with rclone?

Files being created are showing as created > 6 months ago.

dulanic@mediaserver:/mnt/gd/nextcloud$ date
Wed Jul  7 03:28:21 PM UTC 2021
dulanic@mediaserver:/mnt/gd/nextcloud$ ll
Permissions Size User    Date Modified Name
.rw-r--r--    15 dulanic 14 Jan 14:51
.rw-r--r--     4 dulanic 14 Jan 14:51  New text
.rw-r--r--     1 dulanic 14 Jan 14:51
.rw-r--r--     0 dulanic 14 Jan 14:51  test.txt
.rw-r--r--     0 dulanic 14 Jan 14:51  testing.txt

What is your rclone version (output from rclone version)


Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 21.04

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


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

I mounted with this, I do see no-modtime, but that should impact mod time only not create time. I also tried direct creation of the files using touch.

Description=RClone Service

ExecStart=/usr/bin/rclone mount decrypt:Media /mnt/gd \
--allow-other \
--attr-timeout 1000h \
--buffer-size 128M \
--dir-cache-time 1000h \
--log-level INFO \
--no-modtime \
--vfs-cache-mode full \
--cache-tmp-upload-path /mnt/btrfs/rclone \
--cache-dir=/mnt/btrfs/rclone/cache \
--vfs-cache-max-size 100G \
--cache-tmp-wait-time 1s \
--poll-interval 15s \
--log-file /var/log/rclone.log \
--allow-non-empty \
--timeout 1h \
--umask 022 
ExecStop=/usr/bin/fusermount -uz /mnt/gd

rclone -vv touch decrypt:Media/nextcloud/testing.txt

The rclone config contents with secrets removed.

type = drive
client_id = *redacted*
client_secret = *redacted*
scope = drive
token = {"access_token":"*redacted*","token_type":"Bearer","refresh_token":"*redacted*","expiry":"2021-07-07T15:31:20.337203251Z"}
root_folder_id = 0AB8ReLBTV-y1Uk9PVA

type = crypt
remote = gd:Media
filename_encryption = standard
directory_name_encryption = true
password = *redacted*

type = webdav
url =
vendor = nextcloud
user = dulanic
pass = *redacted*

A log from the command with the -vv flag

dulanic@mediaserver:/mnt/gd/nextcloud$ rclone -vv touch decrypt:Media/nextcloud/testing.txt
2021/07/07 15:27:18 DEBUG : Using config file from "/home/dulanic/.config/rclone/rclone.conf"
2021/07/07 15:27:18 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "-vv" "touch" "decrypt:Media/nextcloud/testing.txt"]
2021/07/07 15:27:18 DEBUG : Creating backend with remote "decrypt:Media/nextcloud/"
2021/07/07 15:27:18 DEBUG : Creating backend with remote "gd:Media/k27ti189mhh81aujfcjfe7ct90/6m4g7skjv0dorfobi6uro1g14s"
2021/07/07 15:27:19 DEBUG : testing.txt: MD5 = a07ba64b942a6cb336f60498a4dd4fc7 OK
2021/07/07 15:27:19 DEBUG : 4 go routines active

You have this flag.

Yeah, but that is mod-time, should that effect create time? I mentioned that part.

That's the flag that's causing the issue. Test without it and you can validate.

Yeah it is that, just surprised based on the wording of the flag. I'll keep it off, I just had read it can help /w speed.

Check out:

There's no reason to use either really as the "speed" won't be noticeable unless you can notice probably 1ms or even less.

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