summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-10-03 21:00:22 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-10-03 21:00:22 -0400
commitb36e8d0ecafac24b009245a39946c696656cb8c2 (patch)
treee3340f8d6ec1cfa1eb7f543426d4a3916edf8083
parent55e02c7fd7d58bfa2285edf2ea2b605eea9610e7 (diff)
db-init: Set umask appropriately
-rwxr-xr-xdb-init2
1 files changed, 2 insertions, 0 deletions
diff --git a/db-init b/db-init
index 3ff46a7..bb332ab 100755
--- a/db-init
+++ b/db-init
@@ -3,6 +3,8 @@
source "$(dirname "$(readlink -e "$0")")/config"
+umask 002
+
mkdir -pv -- "${FTP_BASE}"/{"${PKGPOOL}","${SRCPOOL}"} "${CLEANUP_DESTDIR}" "${SOURCE_CLEANUP_DESTDIR}"
for repo in "${PKGREPOS[@]}"; do