Welcome! Log In Create A New Profile

Advanced

Re: Nginx access log and error log

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

On Thu, Mar 03, 2022 at 05:21:35PM -0500, aishwarya.deshmukh wrote:
> 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

Not sure why do want to add an execution bit to a log file, what's the case?

> Can you please confirm how to get this done?

--
Sergey A. Osokin
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
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: 228
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