Welcome! Log In Create A New Profile

Advanced

Nginx access log and error log

March 03, 2022 05:21PM
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?
Subject Author Posted

Nginx access log and error log

aishwarya.deshmukh March 03, 2022 05:21PM

Re: Nginx access log and error log

Sergey A. Osokin via nginx March 03, 2022 06:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 289
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready