Newly created mount point doesn't shows up in Windows Explorer

What is the problem you are having with rclone?

When Using rclone webgui, the newly created drive letter doesn't shows up in the Windows Explorer, while using Windows command prompt I am able to access it.

Here is the debug log from rclone :

2022/04/05 03:45:32 NOTICE: Serving remote control on http://localhost:5572/
The service rclone has been started.
rclone[TID=5138]: FFFFE58C5F0E3DC0: >>QueryVolumeInformation
rclone[TID=5138]: FFFFE58C5F0E3DC0: <<QueryVolumeInformation IoStatus=0[0] VolumeInfo={TotalSize=40000:0, FreeSize=40000:0, VolumeLabel=""}
rclone[TID=5138]: FFFFE58C640ADDC0: >>Create [UT---C] "\", FILE_OPEN, CreateOptions=21, FileAttributes=10, Security=NULL, AllocationSize=0:0, AccessToken=00000000000005EC[PID=342c], DesiredAccess=100000, GrantedAccess=0, ShareAccess=3
rclone[TID=5138]: FFFFE58C640ADDC0: <<Create IoStatus=0[1] UserContext=0000000000000000:00000000030CF940, GrantedAccess=100000, FileInfo={FileAttributes=10, ReparseTag=0, AllocationSize=0:0, FileSize=0:0, CreationTime=2022-04-04T20:46:35.403Z, LastAccessTime=2022-04-04T20:46:35.403Z, LastWriteTime=2022-04-04T20:46:35.403Z, ChangeTime=2022-04-04T20:46:35.403Z, IndexNumber=0:2}
rclone[TID=4d34]: FFFFE58C64B4CDC0: >>Close 0000000000000000:00000000030CF940
rclone[TID=5138]: FFFFE58C640ADDC0: >>Create [UT---C] "\", FILE_OPEN, CreateOptions=200000, FileAttributes=0, Security=NULL, AllocationSize=0:0, AccessToken=00000000000005EC[PID=342c], DesiredAccess=80, GrantedAccess=0, ShareAccess=7
rclone[TID=4d34]: FFFFE58C64B4CDC0: <<Close IoStatus=0[0]
rclone[TID=5138]: FFFFE58C640ADDC0: <<Create IoStatus=0[1] UserContext=0000000000000000:00000000030CF760, GrantedAccess=80, FileInfo={FileAttributes=10, ReparseTag=0, AllocationSize=0:0, FileSize=0:0, CreationTime=2022-04-04T20:46:35.403Z, LastAccessTime=2022-04-04T20:46:35.403Z, LastWriteTime=2022-04-04T20:46:35.403Z, ChangeTime=2022-04-04T20:46:35.403Z, IndexNumber=0:2}
rclone[TID=5138]: FFFFE58C5F0E3DC0: >>Close 0000000000000000:00000000030CF760
rclone[TID=4d34]: FFFFE58C640ADDC0: >>Create [UT---C] "\", FILE_OPEN, CreateOptions=21, FileAttributes=10, Security=NULL, AllocationSize=0:0, AccessToken=00000000000005EC[PID=342c], DesiredAccess=100000, GrantedAccess=0, ShareAccess=3
rclone[TID=5138]: FFFFE58C5F0E3DC0: <<Close IoStatus=0[0]
rclone[TID=4d34]: FFFFE58C640ADDC0: <<Create IoStatus=0[1] UserContext=0000000000000000:00000000030CFAC0, GrantedAccess=100000, FileInfo={FileAttributes=10, ReparseTag=0, AllocationSize=0:0, FileSize=0:0, CreationTime=2022-04-04T20:46:35.403Z, LastAccessTime=2022-04-04T20:46:35.403Z, LastWriteTime=2022-04-04T20:46:35.403Z, ChangeTime=2022-04-04T20:46:35.403Z, IndexNumber=0:2}
rclone[TID=4d34]: FFFFE58C5F0E3DC0: >>Close 0000000000000000:00000000030CFAC0
rclone[TID=4d34]: FFFFE58C5F0E3DC0: <<Close IoStatus=0[0]

Environments

rclone v1.59.0-beta.6061.8ba04562c
- os/version: Microsoft Windows 11 Enterprise 21H2 (64 bit)
- os/kernel: 10.0.22000.593 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18
- go/linking: dynamic
- go/tags: cmount
  • Windows 11 x64 22000.593
  • WinFsp 1.10.22006

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

B2 / backblaze.com

The rclone config contents with secrets removed.

[B2]
type = b2
account = ZZZZZZZZZZZZZZZZ
hard_delete = true
key = YYYYYYYYYYYYYYYY

A log from the command with the -vv flag

2022/04/05 04:14:45 DEBUG : rclone: Version "v1.59.0-beta.6061.8ba04562c" starting with parameters ["rclone" "rcd" "--rc-web-gui" "-vv"]
2022/04/05 04:14:46 DEBUG : Current tag: v2.0.5, Release tag: v2.0.5
2022/04/05 04:14:46 NOTICE: Web GUI exists. Update skipped.
2022/04/05 04:14:46 INFO  : No username specified. Using default username: gui
2022/04/05 04:14:46 INFO  : No password specified. Using random password: iQhww_JAGH_ITH5us1t-MQ
2022/04/05 04:14:46 NOTICE: Serving Web GUI
2022/04/05 04:14:46 INFO  : Using --user gui --pass XXXX as authenticated user
2022/04/05 04:14:46 NOTICE: Serving remote control on http://localhost:5572/
2022/04/05 04:14:46 DEBUG : login_token "TOKEN"
2022/04/05 04:14:47 DEBUG : rc: "core/stats": with parameters map[]
2022/04/05 04:14:47 DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletedDirs:0 deletes:0 elapsedTime:1.7584827 errors:0 eta:<nil> fatalError:false renames:0 retryError:false speed:0 totalBytes:0 totalChecks:0 totalTransfers:0 transferTime:0 transfers:0]: <nil>
2022/04/05 04:14:47 DEBUG : rc: "core/version": with parameters map[]
2022/04/05 04:14:47 DEBUG : rc: "core/version": reply map[arch:amd64 decomposed:[1 59 0] goTags:cmount goVersion:go1.18 isBeta:true isGit:false linking:dynamic os:windows version:v1.59.0-beta.6061.8ba04562c]: <nil>
2022/04/05 04:14:47 DEBUG : rc: "core/stats": with parameters map[]
2022/04/05 04:14:47 DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletedDirs:0 deletes:0 elapsedTime:1.7671364999999999 errors:0 eta:<nil> fatalError:false renames:0 retryError:false speed:0 totalBytes:0 totalChecks:0 totalTransfers:0 transferTime:0 transfers:0]: <nil>
2022/04/05 04:14:47 DEBUG : rc: "core/bwlimit": with parameters map[]
2022/04/05 04:14:47 DEBUG : rc: "core/bwlimit": reply map[bytesPerSecond:-1 bytesPerSecondRx:-1 bytesPerSecondTx:-1 rate:off]: <nil>
2022/04/05 04:14:50 DEBUG : rc: "mount/listmounts": with parameters map[]
2022/04/05 04:14:50 DEBUG : rc: "mount/listmounts": reply map[mountPoints:[]]: <nil>
2022/04/05 04:14:51 DEBUG : rc: "config/listremotes": with parameters map[]
2022/04/05 04:14:51 DEBUG : Using config file from "C:\\Users\\dalail\\AppData\\Roaming\\rclone\\rclone.conf"
2022/04/05 04:14:51 DEBUG : rc: "config/listremotes": reply map[remotes:[B2]]: <nil>
2022/04/05 04:14:52 DEBUG : rc: "core/stats": with parameters map[]
2022/04/05 04:14:52 DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletedDirs:0 deletes:0 elapsedTime:6.7461818000000005 errors:0 eta:<nil> fatalError:false renames:0 retryError:false speed:0 totalBytes:0 totalChecks:0 totalTransfers:0 transferTime:0 transfers:0]: <nil>
2022/04/05 04:14:57 DEBUG : rc: "core/stats": with parameters map[]
2022/04/05 04:14:57 DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletedDirs:0 deletes:0 elapsedTime:11.7486779 errors:0 eta:<nil> fatalError:false renames:0 retryError:false speed:0 totalBytes:0 totalChecks:0 totalTransfers:0 transferTime:0 transfers:0]: <nil>
2022/04/05 04:15:01 DEBUG : rc: "mount/mount": with parameters map[fs:B2: mountOpt:map[Daemon:true DebugFUSE:true] mountPoint:x: mountType: vfsOpt:map[]]
2022/04/05 04:15:01 DEBUG : Creating backend with remote "B2:"
2022/04/05 04:15:01 DEBUG : rc: "mount/listmounts": with parameters map[]
2022/04/05 04:15:02 DEBUG : rc: "core/stats": with parameters map[]
2022/04/05 04:15:02 DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletedDirs:0 deletes:0 elapsedTime:16.7609091 errors:0 eta:<nil> fatalError:false renames:0 retryError:false speed:0 totalBytes:0 totalChecks:0 totalTransfers:0 transferTime:0 transfers:0]: <nil>
2022/04/05 04:15:02 INFO  : B2 root: poll-interval is not supported by this remote
2022/04/05 04:15:02 DEBUG : Network mode mounting is disabled
2022/04/05 04:15:02 DEBUG : Mounting on "x:" ("")
2022/04/05 04:15:02 DEBUG : B2 root: Mounting with options: ["-o" "attr_timeout=1" "-o" "debug" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone"]
2022/04/05 04:15:02 DEBUG : B2 root: Init:
2022/04/05 04:15:02 DEBUG : B2 root: >Init:
2022/04/05 04:15:02 DEBUG : /: Statfs:
2022/04/05 04:15:02 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/05 04:15:02 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/05 04:15:02 DEBUG : /: >Getattr: errc=0
2022/04/05 04:15:02 DEBUG : /: Readlink:
2022/04/05 04:15:02 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
rclone[TID=22e4]: FFFFE58C5EAC0DD0: >>QueryVolumeInformation
2022/04/05 04:15:02 DEBUG : /: Statfs:
2022/04/05 04:15:02 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
rclone[TID=22e4]: FFFFE58C5EAC0DD0: <<QueryVolumeInformation IoStatus=0[0] VolumeInfo={TotalSize=40000:0, FreeSize=40000:0, VolumeLabel=""}
rclone[TID=22e4]: FFFFE58C577D1270: >>Create [UT---C] "\", FILE_OPEN, CreateOptions=21, FileAttributes=10, Security=NULL, AllocationSize=0:0, AccessToken=000000000000076C[PID=5074], DesiredAccess=100000, GrantedAccess=0, ShareAccess=3
2022/04/05 04:15:02 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/05 04:15:02 DEBUG : /: >Getattr: errc=0
2022/04/05 04:15:02 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/05 04:15:02 DEBUG : /: >Getattr: errc=0
2022/04/05 04:15:02 DEBUG : /: Opendir:
2022/04/05 04:15:02 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/05 04:15:02 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/05 04:15:02 DEBUG : /: >Opendir: errc=0, fh=0x0
rclone[TID=22e4]: FFFFE58C577D1270: <<Create IoStatus=0[1] UserContext=0000000000000000:00000000030A2460, GrantedAccess=100000, FileInfo={FileAttributes=10, ReparseTag=0, AllocationSize=0:0, FileSize=0:0, CreationTime=2022-04-04T21:15:02.456Z, LastAccessTime=2022-04-04T21:15:02.456Z, LastWriteTime=2022-04-04T21:15:02.456Z, ChangeTime=2022-04-04T21:15:02.456Z, IndexNumber=0:1}
rclone[TID=22e4]: FFFFE58C5EAC0DD0: >>Close 0000000000000000:00000000030A2460
rclone[TID=4834]: FFFFE58C5FBAEDC0: >>Create [UT---C] "\", FILE_OPEN, CreateOptions=200000, FileAttributes=0, Security=NULL, AllocationSize=0:0, AccessToken=0000000000000784[PID=5074], DesiredAccess=80, GrantedAccess=0, ShareAccess=7
2022/04/05 04:15:02 DEBUG : /: Releasedir: fh=0x0
2022/04/05 04:15:02 DEBUG : /: >Releasedir: errc=0
rclone[TID=22e4]: FFFFE58C5EAC0DD0: <<Close IoStatus=0[0]
2022/04/05 04:15:02 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/05 04:15:02 DEBUG : /: >Getattr: errc=0
2022/04/05 04:15:02 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/05 04:15:02 DEBUG : /: >Getattr: errc=0
2022/04/05 04:15:02 DEBUG : /: Opendir:
2022/04/05 04:15:02 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/05 04:15:02 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/05 04:15:02 DEBUG : /: >Opendir: errc=0, fh=0x0
rclone[TID=4834]: FFFFE58C5FBAEDC0: <<Create IoStatus=0[1] UserContext=0000000000000000:00000000030A2460, GrantedAccess=80, FileInfo={FileAttributes=10, ReparseTag=0, AllocationSize=0:0, FileSize=0:0, CreationTime=2022-04-04T21:15:02.456Z, LastAccessTime=2022-04-04T21:15:02.456Z, LastWriteTime=2022-04-04T21:15:02.456Z, ChangeTime=2022-04-04T21:15:02.456Z, IndexNumber=0:1}
rclone[TID=4834]: FFFFE58C5E3BC2A0: >>Close 0000000000000000:00000000030A2460
rclone[TID=22e4]: FFFFE58C67CD8DC0: >>Create [UT---C] "\", FILE_OPEN, CreateOptions=21, FileAttributes=10, Security=NULL, AllocationSize=0:0, AccessToken=000000000000076C[PID=5074], DesiredAccess=100000, GrantedAccess=0, ShareAccess=3
2022/04/05 04:15:02 DEBUG : /: Releasedir: fh=0x0
2022/04/05 04:15:02 DEBUG : /: >Releasedir: errc=0
rclone[TID=4834]: FFFFE58C5E3BC2A0: <<Close IoStatus=0[0]
2022/04/05 04:15:02 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/05 04:15:02 DEBUG : /: >Getattr: errc=0
2022/04/05 04:15:02 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/04/05 04:15:02 DEBUG : /: >Getattr: errc=0
2022/04/05 04:15:02 DEBUG : /: Opendir:
2022/04/05 04:15:02 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/04/05 04:15:02 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/04/05 04:15:02 DEBUG : /: >Opendir: errc=0, fh=0x0
rclone[TID=22e4]: FFFFE58C67CD8DC0: <<Create IoStatus=0[1] UserContext=0000000000000000:00000000030A2460, GrantedAccess=100000, FileInfo={FileAttributes=10, ReparseTag=0, AllocationSize=0:0, FileSize=0:0, CreationTime=2022-04-04T21:15:02.456Z, LastAccessTime=2022-04-04T21:15:02.456Z, LastWriteTime=2022-04-04T21:15:02.456Z, ChangeTime=2022-04-04T21:15:02.456Z, IndexNumber=0:1}
rclone[TID=22e4]: FFFFE58C5E3BC2A0: >>Close 0000000000000000:00000000030A2460
2022/04/05 04:15:02 DEBUG : Mount for B2 root created at x: using cmount
2022/04/05 04:15:02 DEBUG : /: Releasedir: fh=0x0
2022/04/05 04:15:02 DEBUG : /: >Releasedir: errc=0
rclone[TID=22e4]: FFFFE58C5E3BC2A0: <<Close IoStatus=0[0]
2022/04/05 04:15:02 DEBUG : rc: "mount/mount": reply map[]: <nil>
2022/04/05 04:15:02 DEBUG : rc: "mount/listmounts": reply map[mountPoints:[{Fs:B2 MountPoint:x: MountedOn:2022-04-05 04:15:02.4821915 +0700 +07 m=+17.002651101}]]: <nil>
2022/04/05 04:15:07 DEBUG : rc: "core/stats": with parameters map[]
2022/04/05 04:15:07 DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletedDirs:0 deletes:0 elapsedTime:21.7608173 errors:0 eta:<nil> fatalError:false renames:0 retryError:false speed:0 totalBytes:0 totalChecks:0 totalTransfers:0 transferTime:0 transfers:0]: <nil>
2022/04/05 04:15:12 DEBUG : rc: "core/stats": with parameters map[]
2022/04/05 04:15:12 DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletedDirs:0 deletes:0 elapsedTime:26.7615739 errors:0 eta:<nil> fatalError:false renames:0 retryError:false speed:0 totalBytes:0 totalChecks:0 totalTransfers:0 transferTime:0 transfers:0]: <nil>

How to Reproduce

  • Start rclone 1.59 with "rclone rcd --rc-web-gui" in Windows command prompt (Administrator)
  • Use B2 (backblaze.com)
  • Create a new drive mount point
  • Notice the newly created drive letter doesn't shows up in Windows Explorer

See:

Install (rclone.org)

1 Like

hello and welcome to the forum,

this is not a rclone bug, just a consequence of windows.
the odds are the rclone mount command was run with a command prompt having elevated privileges.
windows explorer runs as a process without elevated privileges.
so windows explorer cannot see the rclone mount.

this is the exact same behavior seen using net use.

1 Like

one easy workaround is to mount to a folder, not a drive letter.
which is what i always do.
that way, both privileged and non-privileged processes for your username can see the mount.
rclone mount remote: b:\rclone\mount\remote

1 Like

@asdffdsa

Yes, I was forgot to close and re-open my Windows Explorer.

Web-GUI is easier.

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