Skip to content

Commit

Permalink
based on my experience and stackexchange (#590)
Browse files Browse the repository at this point in the history
at least, it was missing the **./** aka where to apply this *change context*
  • Loading branch information
JOduMonT authored and rhukster committed Jul 12, 2018
1 parent d2df1c9 commit 9628d55
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 9628d55

Please sign in to comment.