[Gluster-devel] uid and gid of open_frame

Anand Avati anand.avati at gmail.com
Tue Jan 22 17:31:26 UTC 2013


On Tue, Jan 22, 2013 at 4:39 AM, Raghavendra Bhat <rabhat at redhat.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20130122/008f0241/attachment-0001.html>


More information about the Gluster-devel mailing list