Re: [PATCH review 03/16] userns: Allow chown and setgid preservation

2012-11-19 Thread Serge Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > From: "Eric W. Biederman" > > - Allow chown if CAP_CHOWN is present in the current user namespace > and the uid of the inode maps into the current user namespace, and > the destination uid or gid maps into the current user namespace. > > -

[PATCH review 03/16] userns: Allow chown and setgid preservation

2012-11-19 Thread Eric W. Biederman
From: "Eric W. Biederman" - Allow chown if CAP_CHOWN is present in the current user namespace and the uid of the inode maps into the current user namespace, and the destination uid or gid maps into the current user namespace. - Allow perserving setgid when changing an inode if CAP_FSETID is