1 |
commit: 605ae9eb6dae230d8bb967edbdd719c61a2b14b8 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 30 21:25:06 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 21:29:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=605ae9eb |
7 |
|
8 |
emerge-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: 92f4b283c86a ("emerge-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 |
bin/emerge-webrsync | 1 + |
18 |
1 file changed, 1 insertion(+) |
19 |
|
20 |
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync |
21 |
index c259b7daa..db39b272e 100755 |
22 |
--- a/bin/emerge-webrsync |
23 |
+++ b/bin/emerge-webrsync |
24 |
@@ -281,6 +281,7 @@ sync_local() { |
25 |
chown -R ${ownership} . |
26 |
rsync_opts+=" --owner --group" |
27 |
fi |
28 |
+ chmod 755 . |
29 |
rsync ${rsync_opts} . "${repo_location%%/}" |
30 |
|
31 |
__vecho "Cleaning up ..." |