Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rclone mount with full cache only updates modification time after the file has been uploaded to the remote. #8894

@Tungsten842

Description

@Tungsten842

What is the problem you are having with rclone?

When mounting a remote using rclone mount --vfs-cache-mode full and modifying a file, the file is immediately updated but the modification time is updated only after the file has been uploaded to the remote. In case of large files with slow internet this can break applications that rely on updated modification time.

Before:
3646278 2025-10-12 11:14:50.707000000 +0200 test.pdf
Immediately after saving the edited file:
3647290 2025-10-12 11:14:50.707000000 +0200 test.pdf
After the upload ended (test.pdf: vfs cache: upload succeeded try #1):
3647290 2025-10-12 11:15:31.889000000 +0200 test.pdf

What is your rclone version (output from rclone version)

rclone v1.71.1

  • os/version: nixos 25.11 (64 bit)
  • os/kernel: 6.16.9 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.25.0
  • go/linking: dynamic
  • go/tags: cmount

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

nixos 25.11 (64 bit)

Which cloud storage system are you using? (e.g. Google Drive)

Google Drive

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone mount remote: ~/remote/ --vfs-cache-mode full --vfs-cache-max-age 40w

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

log.txt

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions