Re: [Gluster-users] [Gluster-devel] Permission for glusterfs logs.

2017-09-22 Thread Niels de Vos
On Wed, Sep 20, 2017 at 07:50:58AM -0400, Kaleb S. KEITHLEY wrote: > On 09/18/2017 09:22 PM, ABHISHEK PALIWAL wrote: > > Any suggestion would be appreciated... > > > > On Sep 18, 2017 15:05, "ABHISHEK PALIWAL" > > wrote: > > > > Any

Re: [Gluster-users] [Gluster-devel] Permission for glusterfs logs.

2017-09-22 Thread Niels de Vos
On Wed, Sep 20, 2017 at 04:38:51PM +0530, ABHISHEK PALIWAL wrote: > Hi Team, > > I did some modification in glusterfs code and now able to modify the > permission of maximum of files. > > But still 2 file's permission in 0600 > > 1. cli.log > 2. file which contains the mounting information for

Re: [Gluster-users] [Gluster-devel] Permission for glusterfs logs.

2017-09-22 Thread Alex K
You could trigger a chmod on log rotation. Alex On Sep 21, 2017 06:45, "Kaleb S. KEITHLEY" wrote: > On 09/18/2017 09:22 PM, ABHISHEK PALIWAL wrote: > > Any suggestion would be appreciated... > > > > On Sep 18, 2017 15:05, "ABHISHEK PALIWAL" >

Re: [Gluster-users] [Gluster-devel] Permission for glusterfs logs.

2017-09-21 Thread Marcin Dulak
Who is rotating the logs? If logrotate then setfacl may be the way to go https://bugzilla.redhat.com/show_bug.cgi?id=77 [root@centos7 ~]# touch /var/log/my.log [root@centos7 ~]# ls -al /var/log/my.log -rw-r--r--. 1 root root 0 Sep 21 07:01 /var/log/my.log [root@centos7 ~]# chmod 600

Re: [Gluster-users] [Gluster-devel] Permission for glusterfs logs.

2017-09-20 Thread Kaleb S. KEITHLEY
On 09/18/2017 09:22 PM, ABHISHEK PALIWAL wrote: > Any suggestion would be appreciated... > > On Sep 18, 2017 15:05, "ABHISHEK PALIWAL" > wrote: > > Any quick suggestion.? > > On Mon, Sep 18, 2017 at 1:50 PM, ABHISHEK PALIWAL

Re: [Gluster-users] [Gluster-devel] Permission for glusterfs logs.

2017-09-20 Thread ABHISHEK PALIWAL
I have modified the source code and its working fine but only below two files permission is not getting change even after modification. 1. cli.log 2. file which contains the mounting information for "mount -t glusterfs" command On Wed, Sep 20, 2017 at 5:20 PM, Kaleb S. KEITHLEY