From d0a046d43147178c624f4ccfe3129dfbd04f9ac6 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 21 May 2016 16:15:04 +0000 Subject: [PATCH] Fix unneeded chmod of files on mirrors. releng ticket 6421 --- files/scripts/update-fullfiletimelist | 2 +- roles/bodhi2/backend/files/update-fullfilelist | 4 ++-- roles/releng/files/update-fullfilelist | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/scripts/update-fullfiletimelist b/files/scripts/update-fullfiletimelist index 26ea2f4f61..ddb481dcda 100755 --- a/files/scripts/update-fullfiletimelist +++ b/files/scripts/update-fullfiletimelist @@ -17,6 +17,6 @@ if diff $TMPFILE fullfiletimelist > /dev/null; then rm -f $TMPFILE else mv $TMPFILE fullfiletimelist + chmod 0644 fullfiletimelist fi -chmod 0644 fullfiletimelist popd > /dev/null diff --git a/roles/bodhi2/backend/files/update-fullfilelist b/roles/bodhi2/backend/files/update-fullfilelist index 07e16971d8..f044cf7fba 100755 --- a/roles/bodhi2/backend/files/update-fullfilelist +++ b/roles/bodhi2/backend/files/update-fullfilelist @@ -17,8 +17,8 @@ if diff $TMPFILE fullfilelist > /dev/null; then rm -f $TMPFILE else mv $TMPFILE fullfilelist + chmod 0644 fullfilelist fi -chmod 0644 fullfilelist popd > /dev/null # This is the new list with timestamps @@ -30,6 +30,6 @@ if diff $TMPFILE fullfiletimelist > /dev/null; then rm -f $TMPFILE else mv $TMPFILE fullfiletimelist + chmod 0644 fullfiletimelist fi -chmod 0644 fullfiletimelist popd > /dev/null diff --git a/roles/releng/files/update-fullfilelist b/roles/releng/files/update-fullfilelist index 07e16971d8..f044cf7fba 100755 --- a/roles/releng/files/update-fullfilelist +++ b/roles/releng/files/update-fullfilelist @@ -17,8 +17,8 @@ if diff $TMPFILE fullfilelist > /dev/null; then rm -f $TMPFILE else mv $TMPFILE fullfilelist + chmod 0644 fullfilelist fi -chmod 0644 fullfilelist popd > /dev/null # This is the new list with timestamps @@ -30,6 +30,6 @@ if diff $TMPFILE fullfiletimelist > /dev/null; then rm -f $TMPFILE else mv $TMPFILE fullfiletimelist + chmod 0644 fullfiletimelist fi -chmod 0644 fullfiletimelist popd > /dev/null