]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: when readjusting UID/GID ownership of OS trees, skip read-only subtrees 3093/head
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 10:48:05 +0000 (12:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 10:50:13 +0000 (12:50 +0200)
commit4aeb20f5aaec25ef969989b64d37377913b2a1ef
tree27044cdb74a1204974cbafba58628dc4a8ef1984
parent88cd066e11aef5dd73b563c1753ad8bf4dfd9f62
nspawn: when readjusting UID/GID ownership of OS trees, skip read-only subtrees

This should allow tools like rkt to pre-mount read-only subtrees in the OS
tree, without breaking the patching code.

Note that the code will still fail, if the top-level directory is already
read-only.
src/basic/fd-util.c
src/basic/fd-util.h
src/nspawn/nspawn-patch-uid.c