Nginx access log and error log

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


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

-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

Can you please confirm how to get this done?

Posted at Nginx Forum:,293786,293786#msg-293786

More information about the nginx mailing list