summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease8
1 files changed, 8 insertions, 0 deletions
diff --git a/librerelease b/librerelease
index 3021393..e1bf210 100755
--- a/librerelease
+++ b/librerelease
@@ -120,6 +120,14 @@ else
exit 1
fi
+# Make the permissions of the packages 644 otherwize the user will get access
+# denied error when they try to download (rsync --no-perms doesn't seem to
+# work).
+for file in ${WORKDIR}/staging/*
+do
+ chmod 644 "${file}" # Now you will never access deny me again! HAHAHAHAHAHA!
+done
+
msg "Uploading packages..."
rsync --recursive \
${dryrun} \