All of lore.kernel.org
 help / color / mirror / Atom feed
* overlayfs + linux user namespace issue
@ 2015-09-24 10:43 Alexey Naidyonov
  2015-09-24 11:16 ` Andy Whitcroft
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Naidyonov @ 2015-09-24 10:43 UTC (permalink / raw)
  To: linux-unionfs

Hello;

I found that writing to overlayfs mount may be denied to a process
with own user namespace and uid=0 inside that namespace, unless I
explicitly chown lower-work/work directory to a parent namespace uid
corresponding to that user namespace uid 0.

The test case might be found at
https://unix.stackexchange.com/questions/229782/overlayfs-doesnt-work-with-unprivileged-user-namespace

Tried with debian's 4.1.6 and 4.2-trunk.

Could someone please clarify if this is a bug or a feature, and if
this might be changed in future?

Thank you!

Regards,
-- 
 Alexey Naidyonov

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-25  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 10:43 overlayfs + linux user namespace issue Alexey Naidyonov
2015-09-24 11:16 ` Andy Whitcroft
2015-09-25  8:54   ` Alexey Naidyonov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.