Re: [PATCH review 23/85] ocfs2: Convert uid and gids between in core and on disk inodes

From: Eric W. Biederman
Date: Thu Feb 14 2013 - 04:10:19 EST


Joel Becker <jlbec@xxxxxxxxxxxx> writes:

> This has the same problem with two machines in different userspace
> namespaces. Should this be punted to the sysadmin or helped out in the
> filesystem? Do you define this case as unsupported?

First I define two machines in the same user namespace as two machines
with synchronized password files.

As today connecting two machines without synchronizing the password
entries is a problem, won't work, and is punted to the sysadmin to make
keep from doing something silly.

At the same time I don't want to make it easy to get confused, or cause
breakage.

With these patches ocfs2 only still only works in the initial user
namespace. I don't set .fs_flags = FS_USERNS_MOUNT in struct
filesystem. Which means that while users in other user namespaces can
store files on ocfs2, they can't mount ocfs2.

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/