On Sat, 27 Mar 2021 20:15:29 +0100 Johannes Schauer Marin Rodrigues
wrote:

> Quoting Francesco Poli (2021-03-27 16:18:26)
[...]
> > I tried to read the relevant section in the mmdebstrap(1) man page, and
> > there's some recommendation about an --unshare-helper option.
> > 
> > But to be honest, I failed to understand what I am supposed to do with
> > this --unshare-helper option.
> > Could you please clarify?
> 
> Quoting from the man page:
> 
> "For correct ownership information, the directory must be accessed from a
> user namespace with the right subuid/subgid offset"
> 
> Which part is unclear about that?

Thanks for your prompt reply!

Well, the problem is probably my total ignorance about unshare, user
namespaces, and so forth...

First of all, I do not know what exactly subuid and subgid are.

I suppose they have something to do with the uid and gid seen from
within the namespace (I noticed that the temporary directory was
created with high values of uid and gid, not corresponding to any
existing user or group).
I tried to take a look at some man pages (unshare(1),
user_namespaces(7), ...) in order to understand something more, but
there seems to be much more information than the basics, and I failed
to pinpoint where I can read the bare minimum I need to know...
My bad, of course!
But anyway, if you know a good reference to a short explanation of the
topic (ideally a man page), I would suggest to cite it in the
mmdebstrap man page.

After that, I can guess that the problem is that, inside the unshared
namespace, there's no permission to create/write files in my
~/Downloads directory.
But what is not clear to me is what I am supposed to do with this
problem.

What would you suggest?


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpEOQrhSgC3a.pgp
Description: PGP signature

Reply via email to