Skip to content
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

based on my experience and stackexchange #590

Merged
merged 1 commit into from
Jul 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/11.troubleshooting/05.permissions/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ In general, Grav can be installed in a root level folder of an existing WordPres

If the above suggestions still do not work, run

`chcon -Rv --type=httpd_sys_rw_content_t` into the Grav root folder.
`chcon -Rv system_u:object_r:httpd_sys_rw_content_t:s0 ./` into the Grav root folder.

References:

- [https://unix.stackexchange.com/questions/337704/selinux-is-preventing-nginx-from-writing-via-php-fpm](https://unix.stackexchange.com/questions/337704/selinux-is-preventing-nginx-from-writing-via-php-fpm)
- [https://github.com/getgrav/grav/issues/912#issuecomment-227627196](https://github.com/getgrav/grav/issues/912#issuecomment-227627196)
- [http://stopdisablingselinux.com](http://stopdisablingselinux.com/)
- [http://stackoverflow.com/questions/28786047/failed-to-open-stream-on-file-put-contents-in-php-on-centos-7](http://stackoverflow.com/questions/28786047/failed-to-open-stream-on-file-put-contents-in-php-on-centos-7)
Expand Down