Running .exe from a mounted drive

When trying to run an .exe file on a mounted drive (ie: an installer) I get the error "Windows cannot access the specified device, path or file. You may not have the appropiate permissions to access the file."
Looking at the properties the file has Read permissions for Everyone and cannot be changed.

rclone v1.51.0, Windows 7 64 bit (admin user), Google Drive.

Run as:
rclone mount drive: Y: --buffer-size 512000 --vfs-cache-mode writes -vv

Is there some switch on the commandline to change these permissions?

Can you share a log file that with -vv that was asked for as part of the question template?

Nothing gets written on the log when trying to run the exe. This is the latest:

2020/04/21 13:54:36 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/04/21 13:54:36 DEBUG : /: >Getattr: errc=0
2020/04/21 13:54:36 DEBUG : /: Opendir:
2020/04/21 13:54:36 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2020/04/21 13:54:36 DEBUG : /: >OpenFile: fd=/ (r), err=
2020/04/21 13:54:36 DEBUG : /: >Opendir: errc=0, fh=0x6
2020/04/21 13:54:36 DEBUG : /: Releasedir: fh=0x6
2020/04/21 13:54:36 DEBUG : /: >Releasedir: errc=0

Check out:

https://rclone.org/commands/rclone_mount/#windows-caveats

Same error running as SYSTEM. I can copy, rename, delete, write, read... everything but run.

on windows, to run .exe
rclone.exe mount remote: x: --vfs-cache-mode=writes --file-perms=0777

see that

  1. i am running wiztree on x:
  2. used wiztree to analyze x:

image

1 Like

That did the trick, thank you!

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