Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > > > opts->fs_uid = make_kuid(current_user_ns(), option); > > if (!uid_valid(opts->fs_uid)) > > return -EINVAL; > > > > sort of thing (excerpt from fs/fat/inode.c). > > Shouldn't this use the user-namespace from the filesystem-context? No. The uid you're given is with regard to the calling process's namespace, not the filesystem's. David