Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1349323 > unrolled thread

Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode

Started byMiklos Szeredi <miklos@szeredi.hu>
First post2016-03-03 17:10 +0100
Last post2016-03-04 06:10 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode Miklos Szeredi <miklos@szeredi.hu> - 2016-03-03 17:10 +0100
    Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode Sedat Dilek <sedat.dilek@gmail.com> - 2016-03-03 20:00 +0100
      Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode Miklos Szeredi <miklos@szeredi.hu> - 2016-03-04 06:10 +0100

#1349323 — Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode

FromMiklos Szeredi <miklos@szeredi.hu>
Date2016-03-03 17:10 +0100
SubjectRe: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode
Message-ID<r8DZ9-19t-13@gated-at.bofh.it>
On Sun, Jan 31, 2016 at 2:21 PM, Konstantin Khlebnikov <koct9i@gmail.com> wrote:
> Overlayfs must update uid/gid after chown, otherwise functions
> like inode_owner_or_capable() will check user against stale uid.
> Catched by xfstests generic/087, it chowns file and calls utimes.

Queued up patch.  Thanks.

Miklos

[toc] | [next] | [standalone]


#1349484

FromSedat Dilek <sedat.dilek@gmail.com>
Date2016-03-03 20:00 +0100
Message-ID<r8GDD-2P0-11@gated-at.bofh.it>
In reply to#1349323
On 3/3/16, Miklos Szeredi <miklos@szeredi.hu> wrote:
> On Sun, Jan 31, 2016 at 2:21 PM, Konstantin Khlebnikov <koct9i@gmail.com>
> wrote:
>> Overlayfs must update uid/gid after chown, otherwise functions
>> like inode_owner_or_capable() will check user against stale uid.
>> Catched by xfstests generic/087, it chowns file and calls utimes.
>
> Queued up patch.  Thanks.
>

In which Git tree you do that?
[1] points to [2], still true?

- Sedat -

[1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/MAINTAINERS#n8110
[2] http://git.kernel.org/cgit/linux/kernel/git/mszeredi/vfs.git/

> Miklos
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

[toc] | [prev] | [next] | [standalone]


#1349843

FromMiklos Szeredi <miklos@szeredi.hu>
Date2016-03-04 06:10 +0100
Message-ID<r8Q9X-1D7-7@gated-at.bofh.it>
In reply to#1349484
On Thu, Mar 3, 2016 at 7:58 PM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> On 3/3/16, Miklos Szeredi <miklos@szeredi.hu> wrote:
>> On Sun, Jan 31, 2016 at 2:21 PM, Konstantin Khlebnikov <koct9i@gmail.com>
>> wrote:
>>> Overlayfs must update uid/gid after chown, otherwise functions
>>> like inode_owner_or_capable() will check user against stale uid.
>>> Catched by xfstests generic/087, it chowns file and calls utimes.
>>
>> Queued up patch.  Thanks.
>>
>
> In which Git tree you do that?
> [1] points to [2], still true?

It is.  I just forgot to push yesterday evening.  Pushed now.

Thanks,
Miklos


>
> - Sedat -
>
> [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/MAINTAINERS#n8110
> [2] http://git.kernel.org/cgit/linux/kernel/git/mszeredi/vfs.git/
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web