summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorsudoBash418 <sudoBash418@gmail.com>2025-03-29 22:50:50 -0600
committerWill Fancher <elvishjerricco@gmail.com>2025-04-13 12:02:16 -0400
commit93b98639dd185d141c6710f4b118805e82033541 (patch)
tree398bab4eb1d0bc9245303eae11d8e88c67c6fb4e /pkgs/development/python-modules/rangehttpserver
parentafdd737c95e9672997280860099fcef960ffa102 (diff)
make-initrd-ng: Restore stripped file permissions
Previously, all initrd ELFs would be made *world-writable*. This commit sets the write bit for the file owner exclusively, and removes it when done. It also sets the umask so that files don't implicitly become writable for other users by mistake. Fixes: https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4 Reported-By: sudoBash418 <sudobash418@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions