chiark / gitweb /
Infra: get-dm-txt: set umask
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jun 2015 22:26:37 +0000 (23:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jun 2015 22:26:37 +0000 (23:26 +0100)
infra/get-dm-txt

index 32e89bb..0b9ab10 100755 (executable)
@@ -2,6 +2,7 @@
 set -e
 
 cd ${DGIT_INFRA_GETDMTXT_DATADIR-/srv/dgit.debian.org/data}
 set -e
 
 cd ${DGIT_INFRA_GETDMTXT_DATADIR-/srv/dgit.debian.org/data}
+${DGIT_INFRA_GETDMTXT_UMASK-umask 002}
 
 file=dm.txt
 server=ftp-master.debian.org
 
 file=dm.txt
 server=ftp-master.debian.org