-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add attribute to skip settings permissions #18
Comments
Hi @LEDfan, What permissions should be skipped? Only the main directory permissions, all the directory permissions or all the directory and file permissions inside |
Hey.
When you don not set the permissions and use NFS the web server will have write/read permissions because it's running as the |
Closing this. Implemented in #20. |
Hey. Again thanks for this awesome cookbook 👍
In some situations settings the permissions of a directory is impossible. (Even as root). This is e.g. the case when you have mounted
/var/www
as a NFS share. (with vagrant)This isn't really a problem since Apache & nginx are running as the same user who mounted the NFS share. (user
vagrant
and groupvagrant
). So the web server has write permission in this situation.But because Chef fails and an exception is thrown, the cookbook can't finish.
Would it be possible to create an attribute
skip_permissions
? This would be really great!Thanks in advance!
The text was updated successfully, but these errors were encountered: