ソースを参照

Change ownership by brute force

Girish Ramakrishnan 10 年 前
コミット
5b2c44a332
1 ファイル変更2 行追加0 行削除
  1. 2 0
      start.sh

+ 2 - 0
start.sh

@@ -65,5 +65,7 @@ sed -e "s/define('DB_NAME',.*/define('DB_NAME', '${MYSQL_DATABASE}');/" \
 $WP option update wpoa_cloudron_api_id "${OAUTH_CLIENT_ID}"
 $WP option update wpoa_cloudron_api_secret "${OAUTH_CLIENT_SECRET}"
 
+chown -R www-data:www-data /app/code /app/data
+
 /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i WordPress