How to use bind volume with FS_METHOD direct on Windows? #982
Destroy666x
started this conversation in
General
Replies: 1 comment 1 reply
-
Unfortunately, permissions issues with bind-mounting across the VM boundary from Windows is not unusual or unexpected. What I would suggest is that you use a named volume instead of a bind-mount to the VM host so that the directory contents stay inside the VM and standard Linux permissions can apply. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
results in
Installation failed: Could not create directory. /var/www/html/wp-content/upgrade
when trying to install a plugin through admin panel.I found some workarounds for Linux, such as
APACHE_RUN_USER
, but they don't seem to work on Windows. How can I ensure proper permissions exist for the mounted directories in Windows?Running
sh -c "chown -R www-data:www-data /var/www/html"
seems to fix it temprarily, is that the best solution that can be made permament throughcommand
? Or is there e.g. some way to do it through env vars?Beta Was this translation helpful? Give feedback.
All reactions