[Gluster-users] Permission for glusterfs logs.

Alex K rightkicktech at gmail.com
Wed Sep 20 18:37:19 UTC 2017


Wouldn't a simple chmod 644 logfile suffice? This will give read
permissions to all.

Otherwise you could change the group ownership (chgroup), give read
permissuons to this group (640) then make the users a member of this group.

Alex


On Sep 20, 2017 2:37 PM, "ABHISHEK PALIWAL" <abhishpaliwal at gmail.com> wrote:

Any suggestion would be appreciated...

On Sep 18, 2017 15:05, "ABHISHEK PALIWAL" <abhishpaliwal at gmail.com> wrote:

> Any quick suggestion.....?
>
> On Mon, Sep 18, 2017 at 1:50 PM, ABHISHEK PALIWAL <abhishpaliwal at gmail.com
> > wrote:
>
>> Hi Team,
>>
>> As you can see permission for the glusterfs logs in /var/log/glusterfs is
>> 600.
>>
>> drwxr-xr-x 3 root root  140 Jan  1 00:00 ..
>> *-rw------- 1 root root    0 Jan  3 20:21 cmd_history.log*
>> drwxr-xr-x 2 root root   40 Jan  3 20:21 bricks
>> drwxr-xr-x 3 root root  100 Jan  3 20:21 .
>> *-rw------- 1 root root 2102 Jan  3 20:21 etc-glusterfs-glusterd.vol.log*
>>
>> Due to that non-root user is not able to access these logs files, could
>> you please let me know how can I change these permission. So that non-root
>> user can also access these log files.
>>
>> Regards,
>> Abhishek Paliwal
>>
>
>
>
> --
>
>
>
>
> Regards
> Abhishek Paliwal
>

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170920/30d176fb/attachment.html>


More information about the Gluster-users mailing list