From: Raghavendra D Prabhu <rprabhu@xxxxxxxxxxx> Commit ce433404 introduced the change, which causes something like mount -i <user-mount-path> to break which worked well before util-linux-2.21, now it gives message 'mount: only root can use "--internal-only" option' when that shouldn't be the case when it is already in fstab. Signed-off-by: Raghavendra D Prabhu <rprabhu@xxxxxxxxxxx> --- sys-utils/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/mount.c b/sys-utils/mount.c index 3fbac04..d2ed296 100644 --- a/sys-utils/mount.c +++ b/sys-utils/mount.c @@ -708,7 +708,7 @@ int main(int argc, char **argv) longopts, NULL)) != -1) { /* only few options are allowed for non-root users */ - if (mnt_context_is_restricted(cxt) && !strchr("hlLUVvpr", c)) + if (mnt_context_is_restricted(cxt) && !strchr("hlLUVvpri", c)) exit_non_root(option_to_longopt(c, longopts)); switch(c) { -- 1.7.9.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html