On 02/28/2014 11:34 AM, Ken Werner wrote:
On 02/27/2014 05:45 PM, Pádraig Brady wrote:
I'll look at a fix now to do:
t_ids = parse_user_spec(); //outside chroot
ids = parse_user_spec(); //inside chroot
if (!ids)
ids = t_ids;
Thank you for providing those pointers! I have to admit that it's still
> not clear to me whether the userspec option is supposed to lookup the
> user/group using the A) the old or B) the new root.
Hmm, this'd have another implication:
if a username resolves differently out- versus inside,
then it'd not very transparent for the caller which
of the two will be taken.
This could only be avoided by a new option like
"--userspec-outside". I'm not sure if this has been
discussed before, but as numerical IDs already work,
I'm 80:20 against adding it.
Have a nice day,
Berny