Fedora+nginxのアップデートまたはアップグレードを行う際に、nginx用の設定ファイルのownerをnginxユーザに戻すためのシェルスクリプト。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# See https://pandanote.info/?p=8118 for details. | |
chown -R nginx /etc/wordpress | |
chown -R nginx /var/lib/php/session | |
chown -R nginx /var/lib/php/wsdlcache/ | |
chown -R nginx /var/lib/php/opcache/ | |
chown -R nginx /usr/share/wordpress/wp-content/uploads/ | |
chown nginx:nginx /var/log/nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment