<div>Hi Vijay,<br></div><div>Thanks for your reply. Below the answers to your 3 questions.<br></div><div><br></div><div>1) Rather unlikely as my application does not run as root. That's the point my application&nbsp; runs as UID/GID 1000:1000 and the root of my GlusterFS volume needs to be owned by 1000 so that my application can write there.<br></div><div><br></div><div>2) Nothing in glustershd.log and there was not even a glfsheal-myvolume.log file until I ran "gluster volume heal myvolume info".<br></div><div><br></div><div>3) IIRC yes it does but I will have to test that again tomorrow as I now ran again manually a chown on the root of my volume through a fuse client.<br></div><div><br></div><div>Regards,<br></div><div>M.<br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><blockquote type="cite" class="protonmail_quote"><div>-------- Original Message --------<br></div><div>Subject: Re: [Gluster-users] set owner:group on root of volume<br></div><div>Local Time: July 23, 2017 8:15 PM<br></div><div>UTC Time: July 23, 2017 6:15 PM<br></div><div>From: vbellur@redhat.com<br></div><div>To: mabi &lt;mabi@protonmail.ch&gt;, Gluster Users &lt;gluster-users@gluster.org&gt;<br></div><div><br></div><div>On 07/20/2017 03:13 PM, mabi wrote:<br></div><div>&gt; Anyone has an idea? or shall I open a bug for that?<br></div><div><br></div><div>This is an interesting problem. A few questions:<br></div><div><br></div><div>1. Is there any chance that one of your applications does a chown on the <br></div><div>root?<br></div><div><br></div><div>2. Do you notice any logs related to metadata self-heal on "/" in the <br></div><div>gluster logs?<br></div><div><br></div><div>3. Does the ownership of all bricks reset to custom uid/gid after every <br></div><div>restart of the volume?<br></div><div><br></div><div>Thanks,<br></div><div>Vijay<br></div><div><br></div><div>&gt;<br></div><div>&gt;<br></div><div>&gt;&gt; -------- Original Message --------<br></div><div>&gt;&gt; Subject: Re: set owner:group on root of volume<br></div><div>&gt;&gt; Local Time: July 18, 2017 3:46 PM<br></div><div>&gt;&gt; UTC Time: July 18, 2017 1:46 PM<br></div><div>&gt;&gt; From: mabi@protonmail.ch<br></div><div>&gt;&gt; To: Gluster Users &lt;gluster-users@gluster.org&gt;<br></div><div>&gt;&gt;<br></div><div>&gt;&gt; Unfortunately the root directory of my volume still get its owner and<br></div><div>&gt;&gt; group resetted to root. Can someone explain why or help with this<br></div><div>&gt;&gt; issue? I need it to be set to UID/GID 1000 and stay like that.<br></div><div>&gt;&gt;<br></div><div>&gt;&gt; Thanks<br></div><div>&gt;&gt;<br></div><div>&gt;&gt;<br></div><div>&gt;&gt;<br></div><div>&gt;&gt;&gt; -------- Original Message --------<br></div><div>&gt;&gt;&gt; Subject: Re: set owner:group on root of volume<br></div><div>&gt;&gt;&gt; Local Time: July 11, 2017 9:33 PM<br></div><div>&gt;&gt;&gt; UTC Time: July 11, 2017 7:33 PM<br></div><div>&gt;&gt;&gt; From: mabi@protonmail.ch<br></div><div>&gt;&gt;&gt; To: Gluster Users &lt;gluster-users@gluster.org&gt;<br></div><div>&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt; Just found out I needed to set following two parameters:<br></div><div>&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt; gluster volume set myvol storage.owner-uid 1000<br></div><div>&gt;&gt;&gt; gluster volume set myvol storage.owner-gid 1000<br></div><div>&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt; In case that helps any one else :)<br></div><div>&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt; -------- Original Message --------<br></div><div>&gt;&gt;&gt;&gt; Subject: set owner:group on root of volume<br></div><div>&gt;&gt;&gt;&gt; Local Time: July 11, 2017 8:15 PM<br></div><div>&gt;&gt;&gt;&gt; UTC Time: July 11, 2017 6:15 PM<br></div><div>&gt;&gt;&gt;&gt; From: mabi@protonmail.ch<br></div><div>&gt;&gt;&gt;&gt; To: Gluster Users &lt;gluster-users@gluster.org&gt;<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt; Hi,<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt; By default the owner and group of a GlusterFS seems to be root:root<br></div><div>&gt;&gt;&gt;&gt; now I changed this by first mounting my volume using glusterfs/fuse<br></div><div>&gt;&gt;&gt;&gt; on a client and did the following<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt; chmod 1000:1000 /mnt/myglustervolume<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt; This changed correctly the owner and group to UID/GID 1000 of my<br></div><div>&gt;&gt;&gt;&gt; volume but like 1-2 hours later it was back to root:root. I tried<br></div><div>&gt;&gt;&gt;&gt; again and this happens again.<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt; Am I doing something wrong here? I am using GlusterFS 3.8.11 on<br></div><div>&gt;&gt;&gt;&gt; Debian 8.<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt; Regards,<br></div><div>&gt;&gt;&gt;&gt; M.<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;&gt;<br></div><div>&gt;&gt;&gt;<br></div><div>&gt;&gt;<br></div><div>&gt;<br></div><div>&gt;<br></div><div>&gt; _______________________________________________<br></div><div>&gt; Gluster-users mailing list<br></div><div>&gt; Gluster-users@gluster.org<br></div><div>&gt; http://lists.gluster.org/mailman/listinfo/gluster-users<br></div><div>&gt;<br></div></blockquote><div><br></div>