1 |
commit: 82b29bdd12c1ea1002a455c98fa7958311b92ec3 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 30 21:34:29 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 21:34:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=82b29bdd |
7 |
|
8 |
emerge-delta-webrsync: chmod 755 temp dir (bug 704256) |
9 |
|
10 |
Before the rsync call, chmod 755 the temporary directory so that the |
11 |
root directory of the repository will have appropriate permissions. |
12 |
|
13 |
Fixes: fa0f8720e168 ("emerge-delta-webrsync: handle gentoo-YYYYMMDD directory name") |
14 |
Bug: https://bugs.gentoo.org/704256 |
15 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
16 |
|
17 |
misc/emerge-delta-webrsync | 1 + |
18 |
1 file changed, 1 insertion(+) |
19 |
|
20 |
diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync |
21 |
index cda5a9229..082e15e52 100755 |
22 |
--- a/misc/emerge-delta-webrsync |
23 |
+++ b/misc/emerge-delta-webrsync |
24 |
@@ -372,6 +372,7 @@ sync_local() { |
25 |
chown -R ${ownership} "${TMPDIR}" |
26 |
rsync_opts+=" --owner --group" |
27 |
fi |
28 |
+ chmod 755 . |
29 |
rsync ${rsync_opts} . "${repo_location%%/}" |
30 |
cd "${DISTDIR}" |