aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-12-30 13:34:29 -0800
committerZac Medico <zmedico@gentoo.org>2019-12-30 13:34:29 -0800
commit82b29bdd12c1ea1002a455c98fa7958311b92ec3 (patch)
tree865ed769eca36e26adc0141201f49a03bd9ba3ce /misc
parentemerge-webrsync: chmod 755 temp dir (bug 704256) (diff)
downloadportage-82b29bdd12c1ea1002a455c98fa7958311b92ec3.tar.gz
portage-82b29bdd12c1ea1002a455c98fa7958311b92ec3.tar.bz2
portage-82b29bdd12c1ea1002a455c98fa7958311b92ec3.zip
emerge-delta-webrsync: chmod 755 temp dir (bug 704256)
Before the rsync call, chmod 755 the temporary directory so that the root directory of the repository will have appropriate permissions. Fixes: fa0f8720e168 ("emerge-delta-webrsync: handle gentoo-YYYYMMDD directory name") Bug: https://bugs.gentoo.org/704256 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/emerge-delta-webrsync1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync
index cda5a9229..082e15e52 100755
--- a/misc/emerge-delta-webrsync
+++ b/misc/emerge-delta-webrsync
@@ -372,6 +372,7 @@ sync_local() {
chown -R ${ownership} "${TMPDIR}"
rsync_opts+=" --owner --group"
fi
+ chmod 755 .
rsync ${rsync_opts} . "${repo_location%%/}"
cd "${DISTDIR}"