You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may well just be down to my environments, but since upgrading to 0.0.5 from 0.0.4 when the following lines were added, deploy and install have been utterly broken:
These were taking from apache www-data. I uninstalled apache (relying on that module sucks, and I don't use apache) but those users are the same for nginx, so that should not be an issue.
Since deleting those two lines, everything works fine. I presume its because www-data are not allowed to create temporary files outside of the web root. It would be nice if recursive ownership was applied to these files after deploy/install/update, but running the commands as anything other than root for me has just been a nightmare.
The text was updated successfully, but these errors were encountered:
That is most likely the case. By default it would take the user/group of the chef run, which caused permission issues, so I defaulted it to the apache module user/group.
In your case, I believe the best solution would be to override the node attributes in a role/environment. I'm open to any other suggestions.
This may well just be down to my environments, but since upgrading to 0.0.5 from 0.0.4 when the following lines were added, deploy and install have been utterly broken:
These were taking from apache
www-data
. I uninstalled apache (relying on that module sucks, and I don't use apache) but those users are the same for nginx, so that should not be an issue.Since deleting those two lines, everything works fine. I presume its because www-data are not allowed to create temporary files outside of the web root. It would be nice if recursive ownership was applied to these files after deploy/install/update, but running the commands as anything other than root for me has just been a nightmare.
The text was updated successfully, but these errors were encountered: