When opening Microsoft Office files on Gdrive, depending on the mount options used i see or i don't see the lock file ~$filename.xlsx and other users doesn't see it, so they can open the file without the popup alert saying that someone else already opened that file.
What is your rclone version (output from rclone version)
rclone-v1.53.1
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10
Which cloud storage system are you using? (eg Google Drive)
Google Drive FREE (15Go)
2 users connected with the same google account.
The command you were trying to run (eg rclone copy /tmp remote:tmp)
i tested several commands :
rclone mount Gdrive: R: --vfs-cache-mode full --fast-list
With the command above i can see the lock file, but the other PC doesn't see it
rclone mount Gdrive: R: --vfs-cache-mode full --fast-list --allow-other --buffer-size=64M --vfs-read-chunk-size=128M --vfs-cache-max-age=5m --vfs-cache-mode=writes --vfs-read-chunk-size-limit=off --fuse-flag --VolumePrefix=\win10\gdrive --cache-dir F:\rclonecache --vfs-cache-max-size 800M --transfers=8
With the command above i don't see the lock file when i open a file
The rclone config contents with secrets removed.
[Gdrive]
type = drive
scope = drive
token = {"access_token":"xxxxxxx","token_type":"Bearer","refresh_token":"xxxxxx","expiry":"2020-10-06T13:13:35.9944718+02:00"}
So my question is what are the necessary mount options to handle correctly that lock files in a multi user envirronnement ??
Rclone doesn't do locking you are right. However I thought those ~$ files were just files rather than special lock files?
With --vfs-cache-mode full you'll need to wait 5 seconds for the lock file to be uploaded. Though if Windows keeps it open, then it will never get uploaded as rclone won't upload an open file.
I don't really know how those lock files work - do you @asdffdsa ?
based on the website and forum, it is only for webdav,
email them, ask them and let us know.
webdav itself have a file lock option, so it is easy for raidrive to support it. https://en.wikipedia.org/wiki/WebDAV
"LOCK
put a lock on a resource. WebDAV supports both shared and exclusive locks."