diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-12-30 13:25:06 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-12-30 13:29:46 -0800 |
commit | 605ae9eb6dae230d8bb967edbdd719c61a2b14b8 (patch) | |
tree | 09c8aa6c8861bbbb3db17529cd42761419faf386 | |
parent | Updates for portage-2.3.84 release (diff) | |
download | portage-605ae9eb.tar.gz portage-605ae9eb.tar.bz2 portage-605ae9eb.zip |
emerge-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: 92f4b283c86a ("emerge-webrsync: handle gentoo-YYYYMMDD directory name")
Bug: https://bugs.gentoo.org/704256
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rwxr-xr-x | bin/emerge-webrsync | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index c259b7daa..db39b272e 100755 --- a/bin/emerge-webrsync +++ b/bin/emerge-webrsync @@ -281,6 +281,7 @@ sync_local() { chown -R ${ownership} . rsync_opts+=" --owner --group" fi + chmod 755 . rsync ${rsync_opts} . "${repo_location%%/}" __vecho "Cleaning up ..." |