[PATCH] user_ns: Add support for unprivileged remount

Eric W. Biederman ebiederm at xmission.com
Thu Sep 13 21:26:36 UTC 2012


Zhao Hongjiang <zhaohongjiang37 at gmail.com> writes:

> From: Zhao Hongjiang <zhaohongjiang at huawei.com>
>
> Relax the permission checks to allow unprivileged users that have
> CAP_SYS_ADMIN permissions in the user namespace referred to by the
> current mount namespace to be allowed to remount filesystems.

Remount in general make filesystem configuration changes not mount level
changes.

In general remount is not safe for unprivielged users.

Do you have a use case where you need to remount a filesystem?

Eric


More information about the Containers mailing list