<div dir="ltr"><div>Hi,</div><div><br></div><div>SELinux blocks mknod file creation if the bricks are not correctly labeled. <br></div><div><br></div><div>Command to list the bricks with label: &quot;ls -ldZ /&lt;brick_path&gt;&quot;</div><div><br></div><div>It should have following:<br>drwxr-xr-x. root root system_u:object_r:glusterd_brick_t:s0 /&lt;brick_path&gt;<br></div><div><br></div><div>Regards,</div><div>Prasad </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 21, 2018 at 11:37 AM, Nigel Babu <span dir="ltr">&lt;<a href="mailto:nigelb@redhat.com" target="_blank">nigelb@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Huh. This is strange. I&#39;ll test this out in a machine later today and let you know how it goes. This is weird, since you&#39;re already running as root.<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 21, 2018 at 10:25 AM Mohit Agrawal &lt;<a href="mailto:moagrawa@redhat.com" target="_blank">moagrawa@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi Nigel,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">One of my glusto test case i am getting permission denied error at the time of creating character file by test case, the same test case is working on my vm </div><div style="font-size:12.8px">environment.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> Can you please confirm could it be specific to infrastructure issue, I have checked</div><div style="font-size:12.8px"> log also, in log also it is showing sys_mknod is failing with permission denied.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> For more please refer below</div><div style="font-size:12.8px"> <a href="https://ci.centos.org/job/gluster_glusto-patch-check/467/artifact/glustomain.log" target="_blank">https://ci.centos.org/job/<wbr>gluster_glusto-patch-check/<wbr>467/artifact/glustomain.log</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> the command is failing</div><div style="font-size:12.8px"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">mknod /mnt/testvol_distributed-<wbr>ispersed_glusterfs/special_a c 1 2</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Regards</pre><div class="m_-986412400462077986m_-2509889427325901101gmail-yj6qo m_-986412400462077986m_-2509889427325901101gmail-ajU" style="margin:2px 0px 0px"><div id="m_-986412400462077986m_-2509889427325901101gmail-:1jo" class="m_-986412400462077986m_-2509889427325901101gmail-ajR">Mohit Agrawal<img class="m_-986412400462077986m_-2509889427325901101gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div dir="ltr" class="m_-986412400462077986gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">nigelb<br></div></div>
</font></span><br>______________________________<wbr>_________________<br>
automated-testing mailing list<br>
<a href="mailto:automated-testing@gluster.org">automated-testing@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/automated-testing" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/automated-<wbr>testing</a><br>
<br></blockquote></div><br></div>