summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2016-05-21 16:15:04 +0000
committerKevin Fenzi <kevin@scrye.com>2016-05-21 16:15:04 +0000
commitd0a046d43147178c624f4ccfe3129dfbd04f9ac6 (patch)
treee8fb3d358a0c56dff70d79e48467d383776ecf50
parent5a60293a3b141aba0ff5880e3a0a4a90f6078a13 (diff)
downloadansible-d0a046d43147178c624f4ccfe3129dfbd04f9ac6.tar.gz
ansible-d0a046d43147178c624f4ccfe3129dfbd04f9ac6.tar.xz
ansible-d0a046d43147178c624f4ccfe3129dfbd04f9ac6.zip
Fix unneeded chmod of files on mirrors. releng ticket 6421
-rwxr-xr-xfiles/scripts/update-fullfiletimelist2
-rwxr-xr-xroles/bodhi2/backend/files/update-fullfilelist4
-rwxr-xr-xroles/releng/files/update-fullfilelist4
3 files changed, 5 insertions, 5 deletions
diff --git a/files/scripts/update-fullfiletimelist b/files/scripts/update-fullfiletimelist
index 26ea2f4f6..ddb481dcd 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 07e16971d..f044cf7fb 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 07e16971d..f044cf7fb 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