Re: Permissions on nginx logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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@xxxxxxxxx> 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@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux