On Tue, May 22, 2012 at 2:08 AM, Emmanuel Dreyfus <manu@xxxxxxxxxx> wrote:
...
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?)
Avati
Further investigation shows you are right. I traced the
struct fuse_entry_out returned by glusterfs on LOOKUP;
"/subdir", uid = 500, gid = 500, mode = 040755, attr_valid = 1
...
"/subdir", uid = 0, gid = 0, mode = 040700, attr_valid = 1
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?)
Avati