Cannot copy to mounted drive

What is the problem you are having with rclone?

Went I copy files to the driver mounted with rclone (X:) with copy/paste, it works fine. When I try to do the same thing with a C# program, it returns the error "it was not possible to locate a part of the path 'X:' ".
The program can copy to other folders on the C: drive normally, but not to the mounted driver.
Copying the path shown in the error and navigating to it gets to the folder correctly as well

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

rclone v1.57.0

  • os/version: Microsoft Windows 10 Pro 2009 (64 bit)
  • os/kernel: 10.0.19044.1645 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: dynamic
  • go/tags: cmount

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

S3

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

.\rclone -vv mount hedgepoint-mercury:/hedgepoint-mercury X: --vfs-cache-mode full

The rclone config contents with secrets removed.

[hedgepoint-mercury]
type = s3
provider = AWS
access_key_id = ********
secret_access_key = ***************
region = us-east-1

A log from the command with the -vv flag

.\rclone -vv mount hedgepoint-mercury:/hedgepoint-mercury X: --vfs-cache-mode full
2022/04/26 10:06:45 DEBUG : rclone: Version "v1.57.0" starting with parameters ["C:\\Users\\caio.tsubake\\Documents\\hedgepoint\\rclone-v1.57.0-windows-amd64\\rclone.exe" "-vv" "mount" "hedgepoint-mercury:/hedgepoint-mercury" "X:" "--vfs-cache-mode" "full"]
2022/04/26 10:06:45 DEBUG : Creating backend with remote "hedgepoint-mercury:/hedgepoint-mercury"
2022/04/26 10:06:45 DEBUG : Using config file from "C:\\Users\\caio.tsubake\\AppData\\Roaming\\rclone\\rclone.conf"
2022/04/26 10:06:45 DEBUG : fs cache: renaming cache item "hedgepoint-mercury:/hedgepoint-mercury" to be canonical "hedgepoint-mercury:hedgepoint-mercury"
2022/04/26 10:06:45 INFO  : S3 bucket hedgepoint-mercury: poll-interval is not supported by this remote
2022/04/26 10:06:45 DEBUG : vfs cache: root is "C:\\Users\\caio.tsubake\\AppData\\Local\\rclone"
2022/04/26 10:06:45 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\caio.tsubake\\AppData\\Local\\rclone\\vfs\\hedgepoint-mercury\\hedgepoint-mercury"
2022/04/26 10:06:45 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\caio.tsubake\\AppData\\Local\\rclone\\vfsMeta\\hedgepoint-mercury\\hedgepoint-mercury"
2022/04/26 10:06:45 DEBUG : Creating backend with remote "C:/Users/caio.tsubake/AppData/Local/rclone/vfs/hedgepoint-mercury/hedgepoint-mercury"
2022/04/26 10:06:45 DEBUG : fs cache: renaming cache item "C:/Users/caio.tsubake/AppData/Local/rclone/vfs/hedgepoint-mercury/hedgepoint-mercury" to be canonical "//?/C:/Users/caio.tsubake/AppData/Local/rclone/vfs/hedgepoint-mercury/hedgepoint-mercury"
2022/04/26 10:06:45 DEBUG : Creating backend with remote "C:/Users/caio.tsubake/AppData/Local/rclone/vfsMeta/hedgepoint-mercury/hedgepoint-mercury"
2022/04/26 10:06:45 DEBUG : fs cache: renaming cache item "C:/Users/caio.tsubake/AppData/Local/rclone/vfsMeta/hedgepoint-mercury/hedgepoint-mercury" to be canonical "//?/C:/Users/caio.tsubake/AppData/Local/rclone/vfsMeta/hedgepoint-mercury/hedgepoint-mercury"
2022/04/26 10:06:45 INFO  : Hit: Removing directory
2022/04/26 10:06:45 INFO  : Hit: Removing directory
2022/04/26 10:06:45 DEBUG : Network mode mounting is disabled
2022/04/26 10:06:45 DEBUG : Mounting on "X:" ("hedgepoint-mercury hedgepoint-me")
2022/04/26 10:06:45 DEBUG : S3 bucket hedgepoint-mercury: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=hedgepoint-mercury hedgepoint-me"]
2022/04/26 10:06:45 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2022/04/26 10:06:45 DEBUG : S3 bucket hedgepoint-mercury: Init:
2022/04/26 10:06:45 DEBUG : S3 bucket hedgepoint-mercury: >Init:
2022/04/26 10:06:45 DEBUG : /: Statfs:
2022/04/26 10:06:45 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
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Readlink:
2022/04/26 10:06:45 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2022/04/26 10:06:45 DEBUG : /System Volume Information: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /System Volume Information: >Getattr: errc=-2
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: Statfs:
2022/04/26 10:06:45 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
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x1
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x1
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:45 DEBUG : /Images/Camera: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /Images/Camera: >Getattr: errc=-2
2022/04/26 10:06:45 DEBUG : /DCIM: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /DCIM: >Getattr: errc=-2
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:45 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:45 DEBUG : /: Opendir:
2022/04/26 10:06:45 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:45 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:45 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:45 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:45 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:48 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:48 DEBUG : /autorun.inf: >Getattr: errc=-2
2022/04/26 10:06:48 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:48 DEBUG : /autorun.inf: >Getattr: errc=-2
2022/04/26 10:06:48 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:48 DEBUG : /autorun.inf: >Getattr: errc=-2
2022/04/26 10:06:48 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:48 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:48 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:48 DEBUG : /: >Getattr: errc=0
2022/04/26 10:06:48 DEBUG : /: Opendir:
2022/04/26 10:06:48 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/26 10:06:48 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/26 10:06:48 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/04/26 10:06:48 DEBUG : /: Releasedir: fh=0x0
2022/04/26 10:06:48 DEBUG : /: >Releasedir: errc=0
2022/04/26 10:06:48 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/26 10:06:48 DEBUG : /AutoRun.inf: >Getattr: errc=-2

hello and welcome to the forum,

not sure what that means, can you explain in greater detail?

in the log snippet, do not see any attempt to copy a file to the mount?

not sure what that means, can you explain in greater detail?

Sorry, I just mean that if I take the path from the error log, it exists and I can navegate to it just fine.

I don't think any attempt to copy a file, this is the message that appears on the log:

so you navigate the mount, cannot upload files to it?
from the mount, can you download files?

that is a generic status message, nothing to do with the transfer of files.
for the most part, can be ignored.

can you post a rclone debug log, when trying to copy a file to the mount?

I can upload and download files on the mount using simple Ctrl+C/Ctrl+V on my computer.
When I run my C# code to copy the files, it cannot upload or download any files to the mount, I actually thing it cannot even access the mount.

can you post a rclone debug log, when trying to copy a file to the mount?

Here is a log after manualliy copying a file to the mount:

2022/04/26 14:20:32 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
2022/04/26 14:20:32 DEBUG : /: Releasedir: fh=0x6
2022/04/26 14:20:32 DEBUG : /: >Releasedir: errc=0
2022/04/26 14:20:34 DEBUG : Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3: vfs cache: starting upload
2022/04/26 14:20:36 DEBUG : Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3: md5 = 54d1d30cd9e528eda7582affaefabf54 OK
2022/04/26 14:20:36 INFO  : Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3: Copied (new)
2022/04/26 14:20:36 DEBUG : Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3: vfs cache: fingerprint now "926208,2022-03-08 00:30:06 +0000 UTC,54d1d30cd9e528eda7582affaefabf54"
2022/04/26 14:20:36 DEBUG : Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3: vfs cache: writeback object to VFS layer
2022/04/26 14:20:36 DEBUG : Hit/dropbox: Added virtual directory entry vAddFile: "OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3"
2022/04/26 14:20:36 INFO  : Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3: vfs cache: upload succeeded try #1
2022/04/26 14:20:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/criacao.txt not removed, freed 0 bytes
2022/04/26 14:20:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_09-12-08-ID-1643717528.4130_4130282700_551147660200.mp3 not removed, freed 0 bytes
2022/04/26 14:20:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_09-35-49-ID-1643718949.4132_1131239100_551147660244.mp3 not removed, freed 0 bytes
2022/04/26 14:20:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_10-43-24-ID-1643723004.4143_1125732172_551123971638.mp3 not removed, freed 0 bytes
2022/04/26 14:20:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3 not removed, freed 0 bytes
2022/04/26 14:20:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/teste.txt not removed, freed 0 bytes
2022/04/26 14:20:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_11-05-45-ID-1643724345.4145_5421037100_551123971699.mp3 not removed, freed 0 bytes
2022/04/26 14:20:45 INFO  : vfs cache: cleaned: objects 7 (was 7) in use 0, to upload 0, uploading 0, total size 1.389Mi (was 1.389Mi)

Here is the log after my program runs trying to copy to the mount:

2022/04/26 14:25:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/teste.txt not removed, freed 0 bytes
2022/04/26 14:25:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_11-05-45-ID-1643724345.4145_5421037100_551123971699.mp3 not removed, freed 0 bytes
2022/04/26 14:25:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/criacao.txt not removed, freed 0 bytes
2022/04/26 14:25:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_09-12-08-ID-1643717528.4130_4130282700_551147660200.mp3 not removed, freed 0 bytes
2022/04/26 14:25:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_09-35-49-ID-1643718949.4132_1131239100_551147660244.mp3 not removed, freed 0 bytes
2022/04/26 14:25:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/IN-01022022_10-43-24-ID-1643723004.4143_1125732172_551123971638.mp3 not removed, freed 0 bytes
2022/04/26 14:25:45 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Hit/dropbox/OUT-07032022_15-41-27_1646678487.218_1608_0018003913000.mp3 not removed, freed 0 bytes
2022/04/26 14:25:45 INFO  : vfs cache: cleaned: objects 7 (was 7) in use 0, to upload 0, uploading 0, total size 1.389Mi (was 1.389Mi)

My program is running as a Windows Service, if that is any help

again, using your program, after it tries to copy, nothing in the rclone log file about that.

ok, but for the user account, run as system user or same user running the `rclone mount?

for testing,
run my program on the command line with the same level of elevated privileges.
and/or
do a rclone mount to a folder, not as a drive letter.

Did the testing suggested:

run my program on the command line with the same level of elevated privileges.

Running my program on the command line, it was able to copy all the needed files to the mount as needed.

do a rclone mount to a folder, not as a drive letter.

It was able to access the folder and iterate through the files but when it tried to copy one it threw an error saying that the access to the path was denied

Running as a console app, even with just Local System privileges solved the problem, unfortunately, we need it running constantly on a schedule, so we need to have it as a service

sorry, did not see a question?

ah sorry.

I meant that, while running as a console resulted in the files being copied, I still need to figure how to do solve the problem when it runs as a service, because it needs to run everyday on a server, and better yet without human activation, which the service part takes care of.

Is there any way to control permissions of the mount?

not sure what type of permissions you mean?

using task scheduler, very easy to execute a task as a different windows user.
the task could be rclone.exe or could be your app.
and the same applies to nssm or command line.

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