What is the problem you are having with rclone?
If I run a batch file with:
C:\rclone.exe mount b2:coredatarecovery Y: --network-mode --vfs-cache-mode writes --config=C:\Users\cored\AppData\Roaming\rclone\rclone.conf --no-console
I can edit the files and save them.
with NSSM setting a service with C:\rclone\rclone.exe
with the attributes set:
mount cb2: Y: --network-mode --vfs-cache-mode writes --config=C:\Users\cored\AppData\Roaming\rclone\rclone.conf
Drive mounts fine but I cannot edit or overwrite the file. Simple test is to create a bucket
Map it as drive Y and create a new text file, type text, save. it works to save close the file and open it
add a line, type test. save, now instead of saving it opens a save as window and you can't overwrite the file. You also cannot save the file as a new text document.
Run the command 'rclone version' and share the full output of the command.
Which cloud storage system are you using? (eg Google Drive)
B2 Backblaze, option 6 but it also happens with the encryption on.
winfsp-2.0.23075 but I've tried several different versions and computers
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
notepad Y:\test.txt
The rclone config contents with secrets removed.
\\\
[b2]
type = b2
account =
key =
[cb2]
type = crypt
remote = b2:corecrypt
password =
password2 =
[goog]
type = drive
client_id =
client_secret =
scope = drive
token = {}
team_drive =
[db]
type = dropbox
token = {}
\\\
A log from the command with the -vv
flag
C:\Users\cored>rclone mount b2:coredatarecovery z: --network-mode --vfs-cache-mode writes --config=C:\Users\cored\AppData\Roaming\rclone\rclone.conf -vv
2023/05/03 21:46:27 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "mount" "b2:coredatarecovery" "z:" "--network-mode" "--vfs-cache-mode" "writes" "--config=C:\\Users\\cored\\AppData\\Roaming\\rclone\\rclone.conf" "-vv"]
2023/05/03 21:46:27 DEBUG : Creating backend with remote "b2:coredatarecovery"
2023/05/03 21:46:27 DEBUG : Using config file from "C:\\Users\\cored\\AppData\\Roaming\\rclone\\rclone.conf"
2023/05/03 21:46:27 INFO : B2 bucket coredatarecovery: poll-interval is not supported by this remote
2023/05/03 21:46:27 DEBUG : vfs cache: root is "C:\\Users\\cored\\AppData\\Local\\rclone"
2023/05/03 21:46:27 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\cored\\AppData\\Local\\rclone\\vfs\\b2\\coredatarecovery"
2023/05/03 21:46:27 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\cored\\AppData\\Local\\rclone\\vfsMeta\\b2\\coredatarecovery"
2023/05/03 21:46:27 DEBUG : Creating backend with remote "C:/Users/cored/AppData/Local/rclone/vfs/b2/coredatarecovery"
2023/05/03 21:46:27 DEBUG : fs cache: renaming cache item "C:/Users/cored/AppData/Local/rclone/vfs/b2/coredatarecovery" to be canonical "//?/C:/Users/cored/AppData/Local/rclone/vfs/b2/coredatarecovery"
2023/05/03 21:46:27 DEBUG : Creating backend with remote "C:/Users/cored/AppData/Local/rclone/vfsMeta/b2/coredatarecovery"
2023/05/03 21:46:27 DEBUG : fs cache: renaming cache item "C:/Users/cored/AppData/Local/rclone/vfsMeta/b2/coredatarecovery" to be canonical "//?/C:/Users/cored/AppData/Local/rclone/vfsMeta/b2/coredatarecovery"
2023/05/03 21:46:27 DEBUG : Network mode mounting is enabled
2023/05/03 21:46:27 DEBUG : Mounting on "z:" ("\\server\\b2 coredatarecovery")
2023/05/03 21:46:27 DEBUG : B2 bucket coredatarecovery: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "--VolumePrefix=\\server\\b2 coredatarecovery"]
2023/05/03 21:46:27 INFO : 2020fall basis.txt: vfs cache: removed cache file as Removing old cache file not in use
2023/05/03 21:46:27 DEBUG : 2020fall basis.txt: vfs cache: removed metadata from cache as Removing old cache file not in use
2023/05/03 21:46:27 INFO : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item 2020fall basis.txt was removed, freed 478 bytes
2023/05/03 21:46:27 INFO : vfs cache: cleaned: objects 0 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 478)
2023/05/03 21:46:27 DEBUG : B2 bucket coredatarecovery: Init:
2023/05/03 21:46:27 DEBUG : B2 bucket coredatarecovery: >Init:
2023/05/03 21:46:27 DEBUG : /: Statfs:
2023/05/03 21:46:27 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/03 21:46:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:27 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:27 DEBUG : /: Readlink:
2023/05/03 21:46:27 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/05/03 21:46:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:27 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:27 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:27 DEBUG : /: Opendir:
The service rclone has been started.
2023/05/03 21:46:27 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:27 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:27 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:27 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:27 DEBUG : /: >Releasedir: errc=0
2023/05/03 21:46:27 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:27 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:27 DEBUG : /: Opendir:
2023/05/03 21:46:27 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:27 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:27 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:27 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:27 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:27 DEBUG : /: >Releasedir: errc=0
2023/05/03 21:46:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:27 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:27 DEBUG : /: Opendir:
2023/05/03 21:46:27 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:27 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:27 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:27 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:27 DEBUG : /: >Releasedir: errc=0
2023/05/03 21:46:27 DEBUG : /Desktop.ini: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:28 DEBUG : /Desktop.ini: >Getattr: errc=-2
2023/05/03 21:46:28 DEBUG : /Desktop.ini: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:28 DEBUG : /Desktop.ini: >Getattr: errc=-2
2023/05/03 21:46:28 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:28 DEBUG : /AutoRun.inf: >Getattr: errc=-2
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Opendir:
2023/05/03 21:46:29 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:29 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:29 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:29 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:29 DEBUG : /: >Releasedir: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Opendir:
2023/05/03 21:46:29 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:29 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:29 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:29 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:29 DEBUG : /: >Releasedir: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Opendir:
2023/05/03 21:46:29 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:29 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:29 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:29 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:29 DEBUG : /: >Releasedir: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Opendir:
2023/05/03 21:46:29 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:29 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:29 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:29 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:29 DEBUG : /: >Releasedir: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 21:46:29 DEBUG : /: >Getattr: errc=0
2023/05/03 21:46:29 DEBUG : /: Opendir:
2023/05/03 21:46:29 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 21:46:29 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 21:46:29 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 21:46:29 DEBUG : /: Releasedir: fh=0x0
2023/05/03 21:46:29 DEBUG : /: >Releasedir: errc=0
\\\
C:\rclone>rclone mount b2:coredatarecovery z: --network-mode --vfs-cache-mode writes --config=C:\Users\cored\AppData\Roaming\rclone\rclone.conf -vv
2023/05/03 22:05:51 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "b2:coredatarecovery" "z:" "--network-mode" "--vfs-cache-mode" "writes" "--config=C:\\Users\\cored\\AppData\\Roaming\\rclone\\rclone.conf" "-vv"]
2023/05/03 22:05:51 DEBUG : Creating backend with remote "b2:coredatarecovery"
2023/05/03 22:05:51 DEBUG : Using config file from "C:\\Users\\cored\\AppData\\Roaming\\rclone\\rclone.conf"
2023/05/03 22:05:51 INFO : B2 bucket coredatarecovery: poll-interval is not supported by this remote
2023/05/03 22:05:51 DEBUG : vfs cache: root is "C:\\Users\\cored\\AppData\\Local\\rclone"
2023/05/03 22:05:51 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\cored\\AppData\\Local\\rclone\\vfs\\b2\\coredatarecovery"
2023/05/03 22:05:51 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\cored\\AppData\\Local\\rclone\\vfsMeta\\b2\\coredatarecovery"
2023/05/03 22:05:51 DEBUG : Creating backend with remote "C:/Users/cored/AppData/Local/rclone/vfs/b2/coredatarecovery"
2023/05/03 22:05:51 DEBUG : fs cache: renaming cache item "C:/Users/cored/AppData/Local/rclone/vfs/b2/coredatarecovery" to be canonical "//?/C:/Users/cored/AppData/Local/rclone/vfs/b2/coredatarecovery"
2023/05/03 22:05:51 DEBUG : Creating backend with remote "C:/Users/cored/AppData/Local/rclone/vfsMeta/b2/coredatarecovery"
2023/05/03 22:05:51 DEBUG : fs cache: renaming cache item "C:/Users/cored/AppData/Local/rclone/vfsMeta/b2/coredatarecovery" to be canonical "//?/C:/Users/cored/AppData/Local/rclone/vfsMeta/b2/coredatarecovery"
2023/05/03 22:05:51 DEBUG : Network mode mounting is enabled
2023/05/03 22:05:51 DEBUG : Mounting on "z:" ("\\server\\b2 coredatarecovery")
2023/05/03 22:05:51 DEBUG : B2 bucket coredatarecovery: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "--VolumePrefix=\\server\\b2 coredatarecovery"]
2023/05/03 22:05:51 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item 2020fall basis.txt not removed, freed 0 bytes
2023/05/03 22:05:51 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 483 (was 483)
2023/05/03 22:05:51 DEBUG : B2 bucket coredatarecovery: Init:
2023/05/03 22:05:51 DEBUG : B2 bucket coredatarecovery: >Init:
2023/05/03 22:05:51 DEBUG : /: Statfs:
2023/05/03 22:05:51 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/05/03 22:05:51 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 22:05:51 DEBUG : /: >Getattr: errc=0
2023/05/03 22:05:51 DEBUG : /: Readlink:
2023/05/03 22:05:51 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/05/03 22:05:51 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2023/05/03 22:05:51 DEBUG : /: >Getxattr: errc=-40, value=""
The service rclone has been started.
2023/05/03 22:05:51 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 22:05:51 DEBUG : /: >Getattr: errc=0
2023/05/03 22:05:51 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 22:05:51 DEBUG : /: >Getattr: errc=0
2023/05/03 22:05:51 DEBUG : /: Opendir:
2023/05/03 22:05:51 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 22:05:51 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 22:05:51 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 22:05:51 DEBUG : /: Releasedir: fh=0x0
2023/05/03 22:05:51 DEBUG : /: >Releasedir: errc=0
2023/05/03 22:05:51 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 22:05:51 DEBUG : /: >Getattr: errc=0
2023/05/03 22:05:51 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 22:05:51 DEBUG : /: >Getattr: errc=0
2023/05/03 22:05:51 DEBUG : /: Opendir:
2023/05/03 22:05:51 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 22:05:51 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 22:05:51 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 22:05:51 DEBUG : /: Releasedir: fh=0x0
2023/05/03 22:05:51 DEBUG : /: >Releasedir: errc=0
2023/05/03 22:05:51 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 22:05:51 DEBUG : /: >Getattr: errc=0
2023/05/03 22:05:51 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/05/03 22:05:51 DEBUG : /: >Getattr: errc=0
2023/05/03 22:05:51 DEBUG : /: Opendir:
2023/05/03 22:05:51 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/05/03 22:05:51 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/05/03 22:05:51 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/05/03 22:05:51 DEBUG : /: Releasedir: fh=0x0
2023/05/03 22:05:51 DEBUG : /: >Releasedir: errc=0
\\\
rclone mount works with nssm for both gdrive and dropbox fine.
I've tried turning off vfs writes to no avail so I don't think it's related.
When you try to save the file, it opens save as. and complains you don't have permission to write to the file.
Whatever the issue is it seems to be limited to backblaze B2 and i've tested it on ARM-64 as well as intel and it's the same and I've tried it on a domain controlled windows as well as not.
Any suggestions to try would make my day. Thank you in advance for your time and attention.