Skip to content

update-scap-in-beta: Set umask to 0002

Ahmon Dancy requested to merge master-2da9 into master

Before running git commands on the beta deploy server, set the umask
to 0002 to ensure proper group ownership of files that may be created.

The .git/config of /srv/deployment/scap has
[core]
sharedrepository = 1

but there was a recent case where there were some files/directories
not group-writable, breaking subsequent pulls. This commit attempts
to ensure that doesn't happen.

Merge request reports