From fd73476296f589bb5fbf52be54764e46553aa41c Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 10 Feb 2012 14:36:12 +0000 Subject: Fix the permissions so the user won't get access denied error when they try to install the package. --- librerelease | 8 ++++++++ 1 file changed, 8 insertions(+) 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} \ -- cgit v1.1-4-g5e80