[CentOS] Permissions on nginx logs

Simon Matter simon.matter at invoca.ch
Mon May 6 04:06:42 UTC 2019


> Just did that, and I still can’t do this:
>
> $ cd /var/log/nginx
>
> -bash: cd: /var/log/nginx: Permission denied

What's the access mode of it? Should probably be mode 770 then.

Regards,
Simon

>
>
>> On May 3, 2019, at 7:22 PM, John Pierce <jhn.pierce at gmail.com> wrote:
>>
>> 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)
>
>
>
> Cheers, Bee
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>




More information about the CentOS mailing list