Nginx access log and error log

aishwarya.deshmukh nginx-forum at forum.nginx.org
Thu Mar 3 22:21:35 UTC 2022


Hi

Currently the access log and error log are written with the below
permission


-rw-r-----. 1 nginx adm  268 Mar  4 03:43 error.log

However I want them to write in -rwxr-xr-x but everytime it writes the
access or error logs, it writes in a read format. I can manually change
their permission but I want them to originally write it with the correct
permissions

Can you please confirm how to get this done?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293786,293786#msg-293786



More information about the nginx mailing list