panique / mini2

Just an extremely simple naked PHP application, useful for small projects and quick prototypes.
MIT License
417 stars 102 forks source link

file_put_contents(css/style.css): failed to open stream: Permission denied #34

Closed sim2github closed 9 years ago

sim2github commented 9 years ago
After Vagrant up

sass-compiler cannot access to style file 0644 permission rule. Because of www-data:www-data (apache) and vagrant:vagrant in different groups. Maybe add chmod 0777 /var/www/html/myproject/public/css/style.css in bootstrap.sh?

panique commented 9 years ago

This works perfectly, I've run this 50+ times, last time 3 min ago, works perfectly. Can you add more information on your system ?

panique commented 9 years ago

Okay I've "fixed" that now, it's happening when you use a unix-based host sytem or do not have folder sync activated (uncommon, but valid scenario for sure).

https://github.com/panique/mini2/blob/master/Mini/_vagrant/bootstrap.sh