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 3BD521395E2 for ; Tue, 13 Dec 2016 00:56:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B944721C319; Mon, 12 Dec 2016 21:04:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9194E21C319 for ; Mon, 12 Dec 2016 21:04:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE2EC34121E for ; Mon, 12 Dec 2016 21:04:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6028324B0 for ; Mon, 12 Dec 2016 21:04:27 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1481576661.d47da5b055f1de629a4761eeae94ce2aceff5d56.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/man-db/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/man-db/man-db-2.7.6.1.ebuild X-VCS-Directories: sys-apps/man-db/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: d47da5b055f1de629a4761eeae94ce2aceff5d56 X-VCS-Branch: master Date: Mon, 12 Dec 2016 21:04:27 +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-Archives-Salt: e0585e85-0e58-4c2f-9f23-2caf20728490 X-Archives-Hash: 0759425b312b883cfe8b7f21bf3ce94d commit: d47da5b055f1de629a4761eeae94ce2aceff5d56 Author: Lars Wendler gentoo org> AuthorDate: Mon Dec 12 21:04:21 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Dec 12 21:04:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47da5b0 sys-apps/man-db: Adjust cache dir permissions as preferred by upstream. Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-apps/man-db/man-db-2.7.6.1.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-apps/man-db/man-db-2.7.6.1.ebuild b/sys-apps/man-db/man-db-2.7.6.1.ebuild index c7a5f11..8af552f 100644 --- a/sys-apps/man-db/man-db-2.7.6.1.ebuild +++ b/sys-apps/man-db/man-db-2.7.6.1.ebuild @@ -70,8 +70,8 @@ src_install() { newexe "${FILESDIR}"/man-db.cron man-db #289884 keepdir /var/cache/man - fowners man:0 /var/cache/man - fperms 2755 /var/cache/man + fowners man:man /var/cache/man + fperms 0755 /var/cache/man } pkg_preinst() { @@ -82,8 +82,8 @@ pkg_preinst() { if [[ ! -g ${EROOT}var/cache/man ]] ; then einfo "Resetting permissions on ${EROOT}var/cache/man" #447944 mkdir -p "${EROOT}var/cache/man" - chown -R man:0 "${EROOT}"var/cache/man - find "${EROOT}"var/cache/man -type d '!' -perm /g=s -exec chmod 2755 {} + + chown -R man:man "${EROOT}"var/cache/man + find "${EROOT}"var/cache/man -type d -exec chmod 0755 {} + fi }