<p dir="ltr">As far as I know we would need privileged container otherwise extended attribute support becomes unavailable. And gluster is built on underlying file system which has extended attribute support.</p>
<p dir="ltr">Atin </p>
<p dir="ltr">Sent from one plus one<br>
On Jun 22, 2015 10:45 PM, &quot;Ale&quot; &lt;<a href="mailto:ale975@gmail.com">ale975@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I&#39;m  new to gluster, and recently I setup two server  to use with lxc.<br>
&gt; From both server I&#39;m able to mount the volume and do normal operation.<br>
&gt;<br>
&gt; When I try to create a unprivileged container where the path is inside the gluster volume,  the operation fail because unable to do chown operation.<br>
&gt;<br>
&gt; In detail lxc execute the following command:<br>
&gt;<br>
&gt; lxc-usernsexec -m u:0:165536:1 -m u:9869:9869:1 -m g:0:165536:1 -m g:9869:9869:1 -- chown 0:9869 /mnt/vm/lxc/test1<br>
&gt;<br>
&gt; and the gluster log report the following error:<br>
&gt;<br>
&gt; [2015-06-22 16:58:44.065941] W [client-rpc-fops.c:2145:client3_3_setattr_cbk] 2-gv0-client-0: remote operation failed: Operation not permitted<br>
&gt; [2015-06-22 16:58:44.066213] W [client-rpc-fops.c:2145:client3_3_setattr_cbk] 2-gv0-client-1: remote operation failed: Operation not permitted<br>
&gt; [2015-06-22 16:58:44.066928] W [fuse-bridge.c:1079:fuse_setattr_cbk] 0-glusterfs-fuse: 36942426: SETATTR() /lxc/test1 =&gt; -1 (Operation not permitted)<br>
&gt;<br>
&gt; If I exec the same  command on the local filesystem, all works fine, I&#39;m running glusterfs 3.6.3 on ubuntu 14.04.<br>
&gt;<br>
&gt; Do you have any suggestion?<br>
&gt;<br>
&gt; Alessandro<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</p>