summaryrefslogtreecommitdiff
path: root/examples/fakeroot.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2024-01-25 18:01:54 +0100
committerHelmut Grohne <helmut@subdivi.de>2024-01-25 18:03:46 +0100
commit6372178a9e294cce43bdd1f27fb801bd9ebf16e7 (patch)
tree3ff1733b4484dd7b64ac79683b6ba8e6a2c065b2 /examples/fakeroot.py
parent611a5ee4070e8b07dceabbad79ffaf3f540910d0 (diff)
downloadpython-linuxnamespaces-6372178a9e294cce43bdd1f27fb801bd9ebf16e7.tar.gz
examples/chroottar.py: work when TMPDIR is private
When TMPDIR has restrictive permissions, the namespace may be unable to access the leading components. Thus we put the supervisor process handling the cleanup into a different namespace that has all the ids plus the current uid mapped. It'll then be able to perform the cleanup (and the initial chown).
Diffstat (limited to 'examples/fakeroot.py')
0 files changed, 0 insertions, 0 deletions