Systemctl Restart Changes Permission.

Home » CentOS » Systemctl Restart Changes Permission.
CentOS 2 Comments

Hi,

I am running CentOS Linux release 7.8.2003 (Core)
with php72u-fpm-7.2.30-1.el7.ius.x86_64 version. I am facing the below permission denied issue. I also did the below steps
#cd /run
#chown -Rc nginx.nginx php-fpm changed ownership of ‘php-fpm/php-fpm.pid’ from root:root to nginx:nginx changed ownership of ‘php-fpm’ from root:root to nginx:nginx
#systemctl restart php-fpm again changes it from nginx.nginx to root.root user.

nginx error logs

Please let me know if you need any additional information. Thanks in Advance.

Best Regards,

Kaushal

2 thoughts on - Systemctl Restart Changes Permission.