[ovs-dev] [PATCH] rhel: fix log directory permissions

Timothy M. Redaelli tredaelli at redhat.com
Tue Sep 26 14:16:32 UTC 2017


On 09/22/2017 03:44 PM, Aaron Conole wrote:
> When the logrotate script runs, and Open vSwitch is running as a non-root
> user, the /var/log/openvswitch directory doesn't have other rx bits set.
> This means the reopen attempt will fail with "permission denied", even though
> the default logrotate configuration creates a new log file with the
> appropriate attributes.
> 
> This change sets the r/x bits for other on /var/log/messages
> 
> Signed-off-by: Aaron Conole <aconole at redhat.com>
> Tested-by: Jean Hsiao <jhsiao at redhat.com>

Acked-by: Timothy Redaelli <tredaelli at redhat.com>


More information about the dev mailing list