From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CDC39138334 for ; Mon, 30 Dec 2019 21:30:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13486E0974; Mon, 30 Dec 2019 21:30:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7DBEE0974 for ; Mon, 30 Dec 2019 21:30:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4661734D47C for ; Mon, 30 Dec 2019 21:30:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B996974 for ; Mon, 30 Dec 2019 21:30:47 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1577741386.605ae9eb6dae230d8bb967edbdd719c61a2b14b8.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/emerge-webrsync X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 605ae9eb6dae230d8bb967edbdd719c61a2b14b8 X-VCS-Branch: master Date: Mon, 30 Dec 2019 21:30:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e037457c-30eb-4741-89ad-d16443060176 X-Archives-Hash: 229aa47223ab33c3388bccb9b4079b7f commit: 605ae9eb6dae230d8bb967edbdd719c61a2b14b8 Author: Zac Medico gentoo org> AuthorDate: Mon Dec 30 21:25:06 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Dec 30 21:29:46 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=605ae9eb 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 gentoo.org> bin/emerge-webrsync | 1 + 1 file changed, 1 insertion(+) 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 ..."