Re: uid and gid of open_frame

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

 





On Tue, Jan 22, 2013 at 4:39 AM, Raghavendra Bhat <rabhat@xxxxxxxxxx> wrote:
Hi Raghavendra,

In quick-read, for many fops where we perform open-behind, a new frame is created and uid, gid are set to 0 in this new frame. We do not copy the original frame's uid or gid into the new frame. Is this expected behavior?


That is wrong behavior. Co-incidentally, the refactor (#4402..4406) fixed this behavior (by using copy_frame(), which preserves uid/gid/aux-groups and lkowner of the original caller).

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