X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from smtp-2.adminflex.de (smtp-2.adminflex.de [84.38.79.76]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 6D32DDC0108 for ; Thu, 31 Oct 2013 19:58:14 +0000 (UTC) Received: from 91-66-231-240-dynip.superkabel.de ([91.66.231.240] helo=[192.168.178.35]) by smtp-2.adminflex.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1VbyNh-0003qu-0M for alpine-devel@lists.alpinelinux.org; Thu, 31 Oct 2013 19:58:13 +0000 Message-ID: <5272B651.7070306@port-zero.com> Date: Thu, 31 Oct 2013 20:58:09 +0100 From: "Leslie P. Polzer | PORT ZERO" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] main/phpmyadmin: fix deps and permissions References: <52727E6B.5020706@port-zero.com> <20131031200500.5cfe2474@ncopa-desktop.alpinelinux.org> In-Reply-To: <20131031200500.5cfe2474@ncopa-desktop.alpinelinux.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On 10/31/2013 08:05 PM, Natanael Copa wrote: > On Thu, 31 Oct 2013 16:59:39 +0100 > "Leslie P. Polzer | PORT ZERO" wrote: >=20 >> @@ -59,6 +59,8 @@ package() { >> mkdir -p "$pkgdir"/usr/share/$pkgname/ || return 1 >> mv "$pkgdir"/usr/share/webapps/$pkgname/config.sample.inc.php \ >> "$pkgdir"/usr/share/$pkgname/ || return 1 >> + >> + chown -R 0:0 "$pkgdir" >> } >> =20 >> doc() { >=20 > why is that chown -R 0:0 needed? It looks to that permissions are correct= already? >=20 > apk fetch --stdout phpmyadmin | tar -ztv >=20 > shows only root/root? You are right. I remember viewing the tar and seeing that my build user and group owned the files, but this is not the case anymore. So let's remove it. Thanks! Leslie --=20 Dipl.Ing.(BA) Leslie P. Polzer | CTO - PORT ZERO UG (haftungsbeschr=E4nkt) Softwareentwicklung & IT Engineering Adalbertstra=DFe 7/8 10999 Berlin Tel.: +49 (0)30 - 69 200 907 - 0 Fax: +49 (0)30 - 69 200 907 - 9 http://www.port-zero.com --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---