RC mount - B2 - modtime for "directories" are not retained, File modtimes are OK

What is the problem you are having with rclone?

Rclone mount to Backblaze B2. Mount works good but after server reboot the modification times (modtime) for "directories" are not retained. File (object) modtimes are OK.

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

rclone v1.69.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-112-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.0
  • go/linking: static
  • go/tags: none

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

Backblaze B2

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

ls -la /home/test

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

[test]
type = b2
account = XXX
key = XXX
hard_delete = true
chunk_size = 256Mi
download_auth_duration = 1d
directory_markers = true

A log from the command that you were trying to run with the -vv flag

ls -la -vv
total 483
drwxr-xr-x  1 root root      0 Feb 21 18:30 .
drwxr-xr-x 13 root root   4096 Feb 21 11:59 ..
-rw-r--r--  1 root root 490421 Aug 16  2024 beach-file.jpg
drwxr-xr-x  1 root root      0 Jan  1  2000 created-by-webUI
drwxr-xr-x  1 root root      0 Jan  1  2000 friday2
drwxr-xr-x  1 root root      0 Jan  1  2000 friday3
drwxr-xr-x  1 root root      0 Jan  1  2000 friday4
drwxr-xr-x  1 root root      0 Jan  1  2000 gumm
drwxr-xr-x  1 root root      0 Jan  1  2000 piyo
-rw-r--r--  1 root root      0 Feb 20 18:45 test1.txt

welcome to the forum,

that is correct, as per rclone docs, B2 is R/W, not DR, not DR/W

Storage systems with D in the ModTime column means that the following symbols apply to directories as well as files.

1 Like

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