What does --allow-other do

my little mystery did not die in vain, for we have learned something that will endure thru time.
goodbye little mystery, we will not forget you!

it seems that the flag does nothing on windows.
to share the mount on windows, we must run rclone as system user.

for testing i used the following script, once with the flag and once without the flag.
i ran the script using task scheduler as a standard user named standarduser.
in both runs, i, as administrator user was NOT able to access x:

whoami > logfile.txt
set flags=--allow-other --dir-cache-time=72h --drive-chunk-size=64M --vfs-read-chunk-size=32M --vfs-read-chunk-size-limit=off --vfs-cache-mode=writes --cache-dir=c:\dest --log-level=DEBUG
set mountsource=wasabiwest01:thetestfolder
set mountdrive=x:
set logfile=--log-file=logfile.txt
rclone.exe mount %mountsource% %mountdrive% %flags% %logfile%

and here is once of the logs with the flag

en07\standarduser
2019/10/15 14:42:15 DEBUG : rclone: Version "v1.49.3" starting with parameters ["rclone.exe" "mount" "wasabiwest01:thetestfolder" "x:" "--allow-other" "--dir-cache-time=72h" "--drive-chunk-size=64M" "--vfs-read-chunk-size=32M" "--vfs-read-chunk-size-limit=off" "--vfs-cache-mode=writes" "--cache-dir=c:\dest" "--log-level=DEBUG" "--log-file=logfile.txt"]
2019/10/15 14:42:15 DEBUG : Using RCLONE_CONFIG_PASS password.
2019/10/15 14:42:15 DEBUG : Using config file from "C:\data\rclone\scripts\rclone.conf"
2019/10/15 14:42:15 DEBUG : S3 bucket thetestfolder: Mounting on "x:"
2019/10/15 14:42:15 INFO : S3 bucket thetestfolder: poll-interval is not supported by this remote
2019/10/15 14:42:15 DEBUG : vfs cache root is "c:\dest\vfs\wasabiwest01\thetestfolder"
2019/10/15 14:42:15 DEBUG : Adding path "vfs/forget" to remote control registry
2019/10/15 14:42:15 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/10/15 14:42:15 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/10/15 14:42:15 DEBUG : S3 bucket thetestfolder: Mounting with options: ["-o" "fsname=wasabiwest01:thetestfolder" "-o" "subtype=rclone" "-o" "max_readahead=131072" "-o" "attr_timeout=1" "-o" "atomic_o_trunc" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=wasabiwest01 thetestfolder" "-o" "allow_other"]

1 Like