forked from TrueCloudLab/rclone
docs: extend description of drive mount access on windows
This commit is contained in:
parent
60d376c323
commit
6366d3dfc5
1 changed files with 31 additions and 10 deletions
|
@ -342,17 +342,38 @@ by specifying |-o FileSecurity="D:P(A;;FA;;;OW)"|, for file all access (FA) to t
|
||||||
|
|
||||||
#### Windows caveats
|
#### Windows caveats
|
||||||
|
|
||||||
Note that drives created as Administrator are not visible by other
|
Drives created as Administrator are not visible to other accounts,
|
||||||
accounts (including the account that was elevated as
|
not even an account that was elevated to Administrator with the
|
||||||
Administrator). So if you start a Windows drive from an Administrative
|
User Account Control (UAC) feature. A result of this is that if you mount
|
||||||
Command Prompt and then try to access the same drive from Explorer
|
to a drive letter from a Command Prompt run as Administrator, and then try
|
||||||
(which does not run as Administrator), you will not be able to see the
|
to access the same drive from Windows Explorer (which does not run as
|
||||||
new drive.
|
Administrator), you will not be able to see the mounted drive.
|
||||||
|
|
||||||
The easiest way around this is to start the drive from a normal
|
If you don't need to access the drive from applications running with
|
||||||
command prompt. It is also possible to start a drive as the SYSTEM
|
administrative privileges, the easiest way around this is to always
|
||||||
account, which creates drives accessible for everyone on the system,
|
create the mount from a non-elevated command prompt.
|
||||||
read more in the [install documentation](https://rclone.org/install/).
|
|
||||||
|
To make mapped drives available to the user account that created them
|
||||||
|
regardless if elevated or not, there is a special Windows setting called
|
||||||
|
[linked connections](https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-drives-not-available-from-elevated-command#detail-to-configure-the-enablelinkedconnections-registry-entry)
|
||||||
|
that can be enabled.
|
||||||
|
|
||||||
|
It is also possible to make a drive mount available to everyone on the system,
|
||||||
|
by running the process creating it as the built-in SYSTEM account.
|
||||||
|
There are several ways to do this: One is to use the command-line
|
||||||
|
utility [PsExec](https://docs.microsoft.com/en-us/sysinternals/downloads/psexec),
|
||||||
|
from Microsoft's Sysinternals suite, which has option |-s| to start
|
||||||
|
processes as the SYSTEM account. Another alternative is to run the mount
|
||||||
|
command from a Windows Scheduled Task, or a Windows Service, configured
|
||||||
|
to run as the SYSTEM account. A third alternative is to use the
|
||||||
|
[WinFsp.Launcher infrastructure](https://github.com/billziss-gh/winfsp/wiki/WinFsp-Service-Architecture)).
|
||||||
|
Note that when running rclone as another user, it will not use
|
||||||
|
the configuration file from your profile unless you tell it to
|
||||||
|
with the [|--config|](https://rclone.org/docs/#config-config-file) option.
|
||||||
|
Read more in the [install documentation](https://rclone.org/install/).
|
||||||
|
|
||||||
|
Note that mapping to a directory path, instead of a drive letter,
|
||||||
|
does not suffer from the same limitations.
|
||||||
|
|
||||||
### Limitations
|
### Limitations
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue