diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-07 21:24:55 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-20 22:33:46 -0500 |
commit | ecb32bf457ed27b75c9b4386ca1acfbd4b63869e (patch) | |
tree | bd1399cfde6eaec22c56d03ffd2cf016acdc9777 /docs/markdown/snippets/gen_objects.md | |
parent | a878c38476dbe886bf26bc7bafb07bd4f20f763e (diff) | |
download | meson-ecb32bf457ed27b75c9b4386ca1acfbd4b63869e.zip meson-ecb32bf457ed27b75c9b4386ca1acfbd4b63869e.tar.gz meson-ecb32bf457ed27b75c9b4386ca1acfbd4b63869e.tar.bz2 |
minstall: drop privileges before running rebuild_all
If the user runs `sudo meson install` this may run ninja to build
everything that gets installed. This naturally happens as root also, by
default, which is bad. Instead, detect root elevation tools and drop the
uid/gid of the child ninja process back to the original invoking user
before doing anything.
Diffstat (limited to 'docs/markdown/snippets/gen_objects.md')
0 files changed, 0 insertions, 0 deletions