Commit 7f4b999a authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files fix /etc/sudoers.d permissions

gitlab runs ci jobs with umask 0000 to prevent issues with file
permissions. sudo refuses to look at configuration files in
/etc/sudoers.d if it is world-writable.

Fix these permissions so that sudo still works.
parent 3fa6524e
Pipeline #232 passed with stage
in 1 minute and 2 seconds
......@@ -16,3 +16,8 @@ adduser buildozer wheel
# default distfiles location
install -d -g abuild -m 775 /var/cache/distfiles
# fix permissions due to umask 0000
chmod 750 /etc/sudoers.d
chmod 640 /etc/sudoers.d/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment