[CentOS] Permissions on nginx logs

John Pierce jhn.pierce at gmail.com
Fri May 3 23:22:48 UTC 2019


Add group nginx to your user...   usermod -G nginx,... username
(Where .... Is any other groups you're a member of, not counting your
primary group)

On Fri, May 3, 2019, 3:03 PM Bee.Lists <bee.lists at gmail.com> wrote:

> Hi folks.
>
> Just wondering if I can change the ownership on the nginx logs folder so I
> can access them easier for analysis on a regular basis and cronjobs.
>
> /var/log/nginx is owned by nginx:nginx which shuts me out.
>
>
> Cheers, Bee
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


More information about the CentOS mailing list