diff options
author | Helmut Grohne <helmut@subdivi.de> | 2024-01-25 18:01:54 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2024-01-25 18:03:46 +0100 |
commit | 6372178a9e294cce43bdd1f27fb801bd9ebf16e7 (patch) | |
tree | 3ff1733b4484dd7b64ac79683b6ba8e6a2c065b2 /examples/pidns.py | |
parent | 611a5ee4070e8b07dceabbad79ffaf3f540910d0 (diff) | |
download | python-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/pidns.py')
0 files changed, 0 insertions, 0 deletions