Re: plan9 semantics on Linux - mount namespaces

From: Enrico Weigelt
Date: Wed Feb 14 2018 - 06:28:08 EST


On 14.02.2018 11:24, Aleksa Sarai wrote:

What distribution are you using and which release?

On a self-compiled system.

Forgot to enable namespaces in the kernel. Now it seems to work
as root, but not as an unprivileged user:


daemon@alphabox:~ unshare -r -U
unshare: can't open '/proc/self/setgroups': Permission denied
daemon@alphabox:~ unshare -f -r -U
unshare: can't open '/proc/self/setgroups': Permission denied


--mtx

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287