From: Eric W. Biederman Date: Mon, 3 Sep 2012 02:12:51 +0000 (-0700) Subject: userns: Allow chown and setgid preservation X-Git-Tag: v3.8-rc1~77^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fa294c8991ce0ed4e713f08209eb2ce3e1044ac;p=pandora-kernel.git userns: Allow chown and setgid preservation - 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 present in the current user namespace and the owner of the file has a mapping into the current user namespace. Acked-by: Serge E. Hallyn Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed