Re: metadata race confition (was: ename(2) race condition)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, May 22, 2012 at 2:08 AM, Emmanuel Dreyfus <manu@xxxxxxxxxx> wrote:

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

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux