RClone Mount File Deleted and Added in remote

What is the problem you are having with rclone?

I have RClone remote setup for Google Drive and mounted, when i edit files the files are trashed in google drive and new file is added, doing so i am losing the share information on the file as this file is shared with another account. Everytime i edit the file i need to reshare the file. How to edit or replace the file in remote without affecting the metadata of the file.

my current mount setting is

rclone mount gdrive:/foldera /home/user/Documents/gdrivesync/ -vv --vfs-cache-mode=full --log-file=rclone.log --log-format=pid

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

rclone v1.62.2

  • os/version: ubuntu 22.10 (64 bit)
  • os/kernel: 5.19.0-38-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: none

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

Google Drive

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

rclone mount gdrive:/foldera /home/user/Documents/gdrivesync/ -vv --vfs-cache-mode=full --log-file=rclone.log --log-format=pid

The rclone config contents with secrets removed.

[gdrive]
type = drive
scope = drive
token = {"access_token":"access_token1","token_type":"Bearer","refresh_token":"refresh_token1","expiry":"2023-04-07T15:29:46.226894696+08:00"}
client_id = clientid1
client_secret = secret1

A log from the command with the -vv flag

[26093] DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "gdrive:/foldera" "/home/user/Documents/gdrivesync/" "-vv" "--vfs-cache-mode=full" "--log-file=/home/user/Documents/apps/rclone.log" "--log-format=pid"]
[26093] DEBUG : Creating backend with remote "gdrive:/foldera"
[26093] DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
[26093] DEBUG : Google drive root 'foldera': 'root_folder_id = 0AOsfLnYNQx46Uk9PVA' - save this in the config to speed up startup
[26093] DEBUG : fs cache: renaming cache item "gdrive:/foldera" to be canonical "gdrive:foldera"
[26093] DEBUG : vfs cache: root is "/home/user/.cache/rclone"
[26093] DEBUG : vfs cache: data root is "/home/user/.cache/rclone/vfs/gdrive/foldera"
[26093] DEBUG : vfs cache: metadata root is "/home/user/.cache/rclone/vfsMeta/gdrive/foldera"
[26093] DEBUG : Creating backend with remote "/home/user/.cache/rclone/vfs/gdrive/foldera"
[26093] DEBUG : Creating backend with remote "/home/user/.cache/rclone/vfsMeta/gdrive/foldera"
[26093] DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item user.txt not removed, freed 0 bytes
[26093] INFO  : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 165.088Ki (was 165.088Ki)
[26093] DEBUG : Google drive root 'foldera': Mounting on "/home/user/Documents/gdrivesync/"
[26093] DEBUG : : Root: 
[26093] DEBUG : : >Root: node=/, err=<nil>
[26093] DEBUG : /: Lookup: name=".Trash"
[26093] DEBUG : YadiYad.txt: Reset virtual modtime
[26093] DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: Lookup: name=".xdg-volume-info"
[26093] DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
[26093] DEBUG : /: Lookup: name="autorun.inf"
[26093] DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
[26093] DEBUG : /: Lookup: name=".Trash-1000"
[26093] DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Attr: 
[26093] DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
[26093] DEBUG : /: ReadDirAll: 
[26093] DEBUG : /: >ReadDirAll: item=8, err=<nil>
[26093] DEBUG : /: Lookup: name="autorun.inf"
[26093] DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
[26093] DEBUG : : Statfs: 
[26093] DEBUG : : Statfs: 
[26093] DEBUG : : Statfs: 
[26093] DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:1765138 Bavail:1765138 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
[26093] DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:1765138 Bavail:1765138 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
[26093] DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:1765138 Bavail:1765138 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
[26093] DEBUG : /: Lookup: name="user.txt"
[26093] DEBUG : /: >Lookup: node=user.txt, err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=169050 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : user.txt: Open: flags=OpenReadOnly
[26093] DEBUG : user.txt: Open: flags=O_RDONLY
[26093] DEBUG : user.txt: newRWFileHandle: 
[26093] DEBUG : user.txt: >newRWFileHandle: err=<nil>
[26093] DEBUG : user.txt: >Open: fd=user.txt (rw), err=<nil>
[26093] DEBUG : user.txt: >Open: fh=&{user.txt (rw)}, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=32768, offset=0
[26093] DEBUG : user.txt(0xc000d243c0): _readAt: size=32768, off=0
[26093] DEBUG : user.txt(0xc000d243c0): openPending: 
[26093] DEBUG : user.txt: vfs cache: checking remote fingerprint "169050,2023-04-07 07:06:46.076 +0000 UTC,d66a8e64e7a6854d2e340799123a7f1b" against cached fingerprint "169050,2023-04-07 07:06:46.076 +0000 UTC,d66a8e64e7a6854d2e340799123a7f1b"
[26093] DEBUG : user.txt: vfs cache: truncate to size=169050 (not needed as size correct)
[26093] DEBUG : : Added virtual directory entry vAddFile: "user.txt"
[26093] DEBUG : user.txt(0xc000d243c0): >openPending: err=<nil>
[26093] DEBUG : vfs cache: looking for range={Pos:0 Size:32768} in [{Pos:0 Size:169050}] - present true
[26093] DEBUG : user.txt(0xc000d243c0): >_readAt: n=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=65536, offset=32768
[26093] DEBUG : &{user.txt (rw)}: Flush: 
[26093] DEBUG : user.txt(0xc000d243c0): _readAt: size=65536, off=32768
[26093] DEBUG : vfs cache: looking for range={Pos:32768 Size:65536} in [{Pos:0 Size:169050}] - present true
[26093] DEBUG : user.txt(0xc000d243c0): RWFileHandle.Flush
[26093] DEBUG : &{user.txt (rw)}: >Flush: err=<nil>
[26093] DEBUG : user.txt(0xc000d243c0): >_readAt: n=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Release: 
[26093] DEBUG : user.txt(0xc000d243c0): RWFileHandle.Release
[26093] DEBUG : user.txt(0xc000d243c0): close: 
[26093] DEBUG : user.txt: vfs cache: setting modification time to 2023-04-07 07:06:46.076 +0000 UTC
[26093] DEBUG : user.txt(0xc000d243c0): >close: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Release: err=<nil>
[26093] DEBUG : /: Lookup: name="user.txt"
[26093] DEBUG : /: >Lookup: node=user.txt, err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=169050 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : user.txt: Open: flags=OpenReadOnly
[26093] DEBUG : user.txt: Open: flags=O_RDONLY
[26093] DEBUG : user.txt: newRWFileHandle: 
[26093] DEBUG : user.txt: >newRWFileHandle: err=<nil>
[26093] DEBUG : user.txt: >Open: fd=user.txt (rw), err=<nil>
[26093] DEBUG : user.txt: >Open: fh=&{user.txt (rw)}, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=32768, offset=0
[26093] DEBUG : user.txt(0xc000745380): _readAt: size=32768, off=0
[26093] DEBUG : user.txt(0xc000745380): openPending: 
[26093] DEBUG : user.txt: vfs cache: checking remote fingerprint "169050,2023-04-07 07:06:46.076 +0000 UTC,d66a8e64e7a6854d2e340799123a7f1b" against cached fingerprint "169050,2023-04-07 07:06:46.076 +0000 UTC,d66a8e64e7a6854d2e340799123a7f1b"
[26093] DEBUG : user.txt: vfs cache: truncate to size=169050 (not needed as size correct)
[26093] DEBUG : : Added virtual directory entry vAddFile: "user.txt"
[26093] DEBUG : user.txt(0xc000745380): >openPending: err=<nil>
[26093] DEBUG : vfs cache: looking for range={Pos:0 Size:32768} in [{Pos:0 Size:169050}] - present true
[26093] DEBUG : user.txt(0xc000745380): >_readAt: n=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Flush: 
[26093] DEBUG : user.txt(0xc000745380): RWFileHandle.Flush
[26093] DEBUG : &{user.txt (rw)}: >Flush: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=65536, offset=32768
[26093] DEBUG : user.txt(0xc000745380): _readAt: size=65536, off=32768
[26093] DEBUG : vfs cache: looking for range={Pos:32768 Size:65536} in [{Pos:0 Size:169050}] - present true
[26093] DEBUG : user.txt(0xc000745380): >_readAt: n=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Release: 
[26093] DEBUG : user.txt(0xc000745380): RWFileHandle.Release
[26093] DEBUG : user.txt(0xc000745380): close: 
[26093] DEBUG : user.txt: vfs cache: setting modification time to 2023-04-07 07:06:46.076 +0000 UTC
[26093] DEBUG : user.txt(0xc000745380): >close: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Release: err=<nil>
[26093] DEBUG : /: Lookup: name="user.txt"
[26093] DEBUG : /: >Lookup: node=user.txt, err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=169050 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : user.txt: Open: flags=OpenReadOnly
[26093] DEBUG : user.txt: Open: flags=O_RDONLY
[26093] DEBUG : user.txt: newRWFileHandle: 
[26093] DEBUG : user.txt: >newRWFileHandle: err=<nil>
[26093] DEBUG : user.txt: >Open: fd=user.txt (rw), err=<nil>
[26093] DEBUG : user.txt: >Open: fh=&{user.txt (rw)}, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=32768, offset=0
[26093] DEBUG : user.txt(0xc0006f0000): _readAt: size=32768, off=0
[26093] DEBUG : user.txt(0xc0006f0000): openPending: 
[26093] DEBUG : user.txt: vfs cache: checking remote fingerprint "169050,2023-04-07 07:06:46.076 +0000 UTC,d66a8e64e7a6854d2e340799123a7f1b" against cached fingerprint "169050,2023-04-07 07:06:46.076 +0000 UTC,d66a8e64e7a6854d2e340799123a7f1b"
[26093] DEBUG : user.txt: vfs cache: truncate to size=169050 (not needed as size correct)
[26093] DEBUG : : Added virtual directory entry vAddFile: "user.txt"
[26093] DEBUG : user.txt(0xc0006f0000): >openPending: err=<nil>
[26093] DEBUG : vfs cache: looking for range={Pos:0 Size:32768} in [{Pos:0 Size:169050}] - present true
[26093] DEBUG : user.txt(0xc0006f0000): >_readAt: n=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=65536, offset=32768
[26093] DEBUG : user.txt(0xc0006f0000): _readAt: size=65536, off=32768
[26093] DEBUG : vfs cache: looking for range={Pos:32768 Size:65536} in [{Pos:0 Size:169050}] - present true
[26093] DEBUG : user.txt(0xc0006f0000): >_readAt: n=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Flush: 
[26093] DEBUG : user.txt(0xc0006f0000): RWFileHandle.Flush
[26093] DEBUG : &{user.txt (rw)}: >Flush: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Release: 
[26093] DEBUG : user.txt(0xc0006f0000): RWFileHandle.Release
[26093] DEBUG : user.txt(0xc0006f0000): close: 
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: vfs cache: setting modification time to 2023-04-07 07:06:46.076 +0000 UTC
[26093] DEBUG : user.txt(0xc0006f0000): >close: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Release: err=<nil>
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=169050 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : /: Lookup: name="user.txt"
[26093] DEBUG : /: >Lookup: node=user.txt, err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=169050 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : /: Remove: name="user.txt"
[26093] DEBUG : user.txt: Remove: 
[26093] INFO  : user.txt: vfs cache: removed cache file as file deleted
[26093] DEBUG : user.txt: vfs cache: removed metadata from cache as file deleted
[26093] DEBUG : : Added virtual directory entry vDel: "user.txt"
[26093] DEBUG : user.txt: >Remove: err=<nil>
[26093] DEBUG : /: >Remove: err=<nil>
[26093] DEBUG : /: Lookup: name="user.txt"
[26093] DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
[26093] DEBUG : /: Lookup: name="user.txt"
[26093] DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
[26093] DEBUG : /: Create: name="user.txt"
[26093] DEBUG : user.txt: Open: flags=O_WRONLY|O_CREATE|O_TRUNC
[26093] DEBUG : user.txt: newRWFileHandle: 
[26093] DEBUG : user.txt(0xc000cd04c0): openPending: 
[26093] DEBUG : user.txt: vfs cache: truncate to size=0 (not needed as size correct)
[26093] DEBUG : : Added virtual directory entry vAddFile: "user.txt"
[26093] DEBUG : user.txt(0xc000cd04c0): >openPending: err=<nil>
[26093] DEBUG : user.txt: >newRWFileHandle: err=<nil>
[26093] DEBUG : : Added virtual directory entry vAddFile: "user.txt"
[26093] DEBUG : user.txt: >Open: fd=user.txt (rw), err=<nil>
[26093] DEBUG : /: >Create: node=user.txt, handle=&{user.txt (rw)}, err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=0 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=0
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=0
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=16384
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=16384
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=32768
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=32768
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=49152
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=49152
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=65536
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=65536
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=81920
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=81920
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=98304
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=98304
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=114688
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=114688
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=131072
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=131072
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=16384, offset=147456
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=16384, off=147456
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=16384, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=16384, err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=163840 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : user.txt: Setattr: a=Setattr [ID=0x1aa Node=0x2 Uid=1000 Gid=1000 Pid=26074] mode=-rwxrw-r-- handle=INVALID-0x0
[26093] DEBUG : user.txt: >Setattr: err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=163840 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Write: len=5337, offset=163840
[26093] DEBUG : user.txt(0xc000cd04c0): _writeAt: size=5337, off=163840
[26093] DEBUG : user.txt(0xc000cd04c0): >_writeAt: n=5337, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Write: written=5337, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Flush: 
[26093] DEBUG : user.txt(0xc000cd04c0): RWFileHandle.Flush
[26093] DEBUG : &{user.txt (rw)}: >Flush: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Release: 
[26093] DEBUG : user.txt(0xc000cd04c0): RWFileHandle.Release
[26093] DEBUG : user.txt(0xc000cd04c0): close: 
[26093] DEBUG : user.txt: Setattr: a=Setattr [ID=0x1b2 Node=0x2 Uid=1000 Gid=1000 Pid=26074] mode=-rwxrw-r-- handle=INVALID-0x0
[26093] DEBUG : user.txt: >Setattr: err=<nil>
[26093] DEBUG : user.txt: Attr: 
[26093] DEBUG : user.txt: vfs cache: setting modification time to 2023-04-07 15:08:20.074982189 +0800 +08 m=+45.328907690
[26093] INFO  : user.txt: vfs cache: queuing for upload in 5s
[26093] DEBUG : user.txt(0xc000cd04c0): >close: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Release: err=<nil>
[26093] DEBUG : user.txt: >Attr: a=valid=1s ino=0 size=169177 mode=-rw-rw-r--, err=<nil>
[26093] DEBUG : : Statfs: 
[26093] DEBUG : : >Statfs: stat={Blocks:3932160 Bfree:1765138 Bavail:1765138 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
[26093] DEBUG : user.txt: Open: flags=OpenReadOnly
[26093] DEBUG : user.txt: Open: flags=O_RDONLY
[26093] DEBUG : user.txt: newRWFileHandle: 
[26093] DEBUG : user.txt: >newRWFileHandle: err=<nil>
[26093] DEBUG : user.txt: >Open: fd=user.txt (rw), err=<nil>
[26093] DEBUG : user.txt: >Open: fh=&{user.txt (rw)}, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=32768, offset=0
[26093] DEBUG : user.txt(0xc000cd0540): _readAt: size=32768, off=0
[26093] DEBUG : user.txt(0xc000cd0540): openPending: 
[26093] DEBUG : user.txt: vfs cache: truncate to size=169177 (not needed as size correct)
[26093] DEBUG : : Added virtual directory entry vAddFile: "user.txt"
[26093] DEBUG : user.txt(0xc000cd0540): >openPending: err=<nil>
[26093] DEBUG : vfs cache: looking for range={Pos:0 Size:32768} in [{Pos:0 Size:169177}] - present true
[26093] DEBUG : user.txt(0xc000cd0540): >_readAt: n=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=32768, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Flush: 
[26093] DEBUG : user.txt(0xc000cd0540): RWFileHandle.Flush
[26093] DEBUG : &{user.txt (rw)}: >Flush: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Read: len=65536, offset=32768
[26093] DEBUG : user.txt(0xc000cd0540): _readAt: size=65536, off=32768
[26093] DEBUG : vfs cache: looking for range={Pos:32768 Size:65536} in [{Pos:0 Size:169177}] - present true
[26093] DEBUG : user.txt(0xc000cd0540): >_readAt: n=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Read: read=65536, err=<nil>
[26093] DEBUG : &{user.txt (rw)}: Release: 
[26093] DEBUG : user.txt(0xc000cd0540): RWFileHandle.Release
[26093] DEBUG : user.txt(0xc000cd0540): close: 
[26093] DEBUG : user.txt: vfs cache: setting modification time to 2023-04-07 15:08:20.074982189 +0800 +08 m=+45.328907690
[26093] INFO  : user.txt: vfs cache: queuing for upload in 5s
[26093] DEBUG : user.txt(0xc000cd0540): >close: err=<nil>
[26093] DEBUG : &{user.txt (rw)}: >Release: err=<nil>
[26093] DEBUG : user.txt: vfs cache: starting upload
[26093] DEBUG : user.txt: md5 = 28dfea1240a663b13a495b46d5a6400f OK
[26093] INFO  : user.txt: Copied (new)
[26093] DEBUG : user.txt: vfs cache: fingerprint now "169177,2023-04-07 07:08:20.074 +0000 UTC,28dfea1240a663b13a495b46d5a6400f"
[26093] DEBUG : user.txt: vfs cache: writeback object to VFS layer
[26093] DEBUG : : Added virtual directory entry vAddFile: "user.txt"
[26093] INFO  : user.txt: vfs cache: upload succeeded try #1
[26093] DEBUG : /home/user/Documents/gdrivesync/: Unmounted externally. Just exit now.
[26093] DEBUG : rclone: Version "v1.62.2" finishing with parameters ["rclone" "mount" "gdrive:/foldera" "/home/user/Documents/gdrivesync/" "-vv" "--vfs-cache-mode=full" "--log-file=/home/user/Documents/apps/rclone.log" "--log-format=pid"]

See the documentation for mounts and Google docs:

Are you implying that this is a limitation using rclone mount with google drive or am i missing some flags?. Is there any other way to achieve my goal other than using mount option.

If you overwrite a file using rclone copy does it lose the share rights?

How about with the mount and --vfs-cache-mode off ?

I'm wondering if this is an oversight in --vfs-cache-mode full.

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