gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] uid and gid of open_frame


From: Anand Avati
Subject: Re: [Gluster-devel] uid and gid of open_frame
Date: Tue, 22 Jan 2013 09:31:26 -0800



On Tue, Jan 22, 2013 at 4:39 AM, Raghavendra Bhat <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]