转自 http://www.wynotes.com/639.html
当执行chown或chmod对网站目录下.user.ini权限进行操作时,可能会提示“chown: changing ownership of /home/wwwroot/default/.user.ini: Operation not permitted”,可以执行以下命令:
chattr -i /home/wwwroot/default/.user.ini
再执行
chown www:www -R /home/wwwroot/default/
完成。
评论区