WunderTools
WunderTools copied to clipboard
build.sh update error - BUILD ERROR: [Errno 13] Permission denied
Error when running build.sh update: ** BUILD ERROR: [Errno 13] Permission denied: '/vagrant/drupal/current/sites/default/files'
Seems to be happening on both Linux and OSx.
I can confirm that I'm also getting this issue a lot on macOS. To me it seems it is a NFS related issue, because the file causing the issue is a symlink and if you remove that one manually and run the build.sh update again then you get and error from a different symlink and because it also seems that when you get this error, it's not possible to remove that symlink even manually inside the vagrant box with sudo. You can only remove the symlink(s) from the host with sudo.
First thing is to make sure if this actually happens with latest build.sh versions. There has been numerous fixes committed to fix & prevent this issue.
To reproduce with latest version:
- Make sure you have latest build.sh version from master branch of https://github.com/wunderkraut/build.sh!
- Make clean build with latest build. I.e make sure you have deleted the current folder manually if needed. Run
build.sh newand thenbuild.sh updateINSIDE VAGRANT BOX! - Make sure you visit the site so that there is cache files created under files/ etc.
- Run
build.sh updateonce again, inside vagrant.