<br><br><div class="gmail_quote">On Tue, May 22, 2012 at 2:08 AM, Emmanuel Dreyfus <span dir="ltr">&lt;<a href="mailto:manu@netbsd.org" target="_blank">manu@netbsd.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Further investigation shows you are right. I traced the<br>
struct fuse_entry_out returned by glusterfs on LOOKUP;<br>
<br>
&quot;/subdir&quot;, uid = 500, gid = 500, mode = 040755, attr_valid = 1<br></blockquote><div> <br>...<br></div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

&quot;/subdir&quot;, uid = 0, gid = 0, mode = 040700, attr_valid = 1<br>
<span class="HOEnZb"></span></blockquote><div><br>Note that even mode has changed, not just the uid/gid. It will probably help if you can put a breakpoint in this case and inspect the stack about where these attribute fields are fetched from (some cache? from posix?)<br>
<br>Avati <br></div></div>