summaryrefslogtreecommitdiffstats
path: root/files/reprepro/snapshots
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-11-09 08:00:08 +0000
committerintrigeri <intrigeri@boum.org>2016-11-09 08:00:08 +0000
commitad5853a2208e44e233c60746710ccb2cf7d09b9d (patch)
tree67fc98d74ff11acd116b00353db0f3706d973866 /files/reprepro/snapshots
parent4dbecb069e11fb33b115ae4be3f74fcb50d81066 (diff)
tails-update-time-based-apt-snapshots: use a relaxed umask.
Otherwise, dists that are newly added to the reprepro configuration get a directory in "dists" with permissions 0700.
Diffstat (limited to 'files/reprepro/snapshots')
-rwxr-xr-xfiles/reprepro/snapshots/time_based/tails-update-time-based-apt-snapshots1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/reprepro/snapshots/time_based/tails-update-time-based-apt-snapshots b/files/reprepro/snapshots/time_based/tails-update-time-based-apt-snapshots
index 75c2848..54a9fb4 100755
--- a/files/reprepro/snapshots/time_based/tails-update-time-based-apt-snapshots
+++ b/files/reprepro/snapshots/time_based/tails-update-time-based-apt-snapshots
@@ -107,6 +107,7 @@ assert_like($SERIAL, qr/^\d{10}$/, q{Serial is well formed});
### Main
+umask 0022;
clean($BASEDIR);
update_mirrors($BASEDIR);
generate_snapshots($BASEDIR, $SERIAL);