...
 
Commits (2)
  • Kevin Daudt's avatar
    gitlab-runner-helper: use default umask · ab087af3
    Kevin Daudt authored
    scripts/gitlab-runner-helper sets umask to 0000 to fix issues where ci
    jobs would be running as a different user, preventing access to files.
    
    This causes issues when files in repositories end up in build artifacts
    with world writable permissions.
    
    One such example is the alpine-gitlab-ci project where `/etc/sudoers.d`
    ends up word-writable, preventing sudo to work.
    
    Set it to the standard 0022 to fix this issue.
    ab087af3
  • Kevin Daudt's avatar
    merge: gitlab-runner-helper: use default umask · 85669d07
    Kevin Daudt authored
    See merge request !5
    85669d07
#!/bin/sh
umask 0000
umask 0022
exec /bin/sh