Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.54k stars 850 forks source link

VVV still requires "Run as administrator" #2299

Open msaggiorato opened 3 years ago

msaggiorato commented 3 years ago

Recently I've added support for UAC prompt on goodhosts so that it works even if you don't run vagrant up on an elevated shell.

There's still issues with symlinks not working if you don't run vagrant in an elevated prompt. This issue mainly causes problems when installing npm related stuff to shared/synced folders.

Based on research I did, I've found that you need to have a specific privilege assigned to your user to avoid this.

Potentially we could bundle a PowerShell script that would ask the user for confirmation and grant this permission for the current user.

Now that I'm running VVV on Windows I'll document more things I found and research on how to fix it on this issue.

tomjn commented 3 years ago

I don't think that changing system policies via powershell is going to be a viable solution. A lot of people can't do that or won't do that