]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Make sure unpacked resources can be accessed by the invoking user 2444/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 5 Mar 2024 09:16:39 +0000 (10:16 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 5 Mar 2024 09:31:32 +0000 (10:31 +0100)
commit260b03cd4895d8b441a20cb8c4374056c4f9f0ca
tree8147df36a7ad54ec4d9387141d85fb5c1d3af7ff
parent27277c9b0f2bb9a4323f89f2adadaf2539b2c3e1
Make sure unpacked resources can be accessed by the invoking user

Sometimes we run commands as the invoking user and these commands
should be able to access the resources. If the resources are unpacked
to a temporary directory, this directory will have mode 0700 so we
need to relax the permissions to make sure it can be accessed by the
invoking user.
mkosi/util.py