<div dir="ltr">I have modified the source code and its working fine but only below two files permission is not getting change even after modification. <br><br>1. cli.log<br>2. file which contains the mounting information for "mount -t glusterfs" command<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 5:20 PM, Kaleb S. KEITHLEY <span dir="ltr"><<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/18/2017 09:22 PM, ABHISHEK PALIWAL wrote:<br>
> Any suggestion would be appreciated...<br>
><br>
> On Sep 18, 2017 15:05, "ABHISHEK PALIWAL" <<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a><br>
</span><span class="">> <mailto:<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.<wbr>com</a>>> wrote:<br>
><br>
> Any quick suggestion.....?<br>
><br>
> On Mon, Sep 18, 2017 at 1:50 PM, ABHISHEK PALIWAL<br>
</span><span class="">> <<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.com</a> <mailto:<a href="mailto:abhishpaliwal@gmail.com">abhishpaliwal@gmail.<wbr>com</a>>> wrote:<br>
><br>
> Hi Team,<br>
><br>
> As you can see permission for the glusterfs logs in<br>
> /var/log/glusterfs is 600.<br>
><br>
> drwxr-xr-x 3 root root 140 Jan 1 00:00 ..<br>
</span>> *-rw------- 1 root root 0 Jan 3 20:21 cmd_history.log*<br>
<span class="">> drwxr-xr-x 2 root root 40 Jan 3 20:21 bricks<br>
> drwxr-xr-x 3 root root 100 Jan 3 20:21 .<br>
</span>> *-rw------- 1 root root 2102 Jan 3 20:21<br>
> etc-glusterfs-glusterd.vol.<wbr>log*<br>
<span class="">><br>
> Due to that non-root user is not able to access these logs<br>
> files, could you please let me know how can I change these<br>
> permission. So that non-root user can also access these log files.<br>
><br>
<br>
</span>There is no "quick fix." Gluster creates the log files with 0600 — like<br>
nearly everything else in /var/log.<br>
<br>
The admin can chmod the files, but when the logs rotate the new log<br>
files will be 0600 again.<br>
<br>
You'd have to patch the source and rebuild to get different permission bits.<br>
<br>
You can probably do something with ACLs, but as above, when the logs<br>
rotate the new files won't have the ACLs.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
<br>
Kaleb<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div>