From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 31 10:40:30 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15357C9 for ; Wed, 31 Oct 2012 10:40:30 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 874758FC0A for ; Wed, 31 Oct 2012 10:40:29 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id 16so862240wgi.31 for ; Wed, 31 Oct 2012 03:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=jy35Bu2F8PqFU5hYquqN32ZyDDP8b9+7mA1TWrV8yQ4=; b=xbYoKKOE+f3bbZ0QLnsDnEBSiSPNxxvnxOczBHs3FgAtbctoi4RrNegEuUkRjnWoml 7ASd9LLVj1oPT+mNynmXI0YsP8zZrY4jvz9CuN7K0clO8D2BECkRtCmlL1qcyqqyN1B7 scWmuoI8YykHz8v2yip3gh0Q9xzfEEriRBftXtQL2qt5+E2wC8LQqZiWeRUebyYr8lZX sitmgNkdMkMOLcGToGPwof4FLEfMe6Y6gunUsfgtKl5xPPQFgwNbUhWG1U2eEen6koiJ DzxC4hKtz/H0eBLbk8vQBNq85Wc0Kn/8wYgYv7d2Zo4Wp/XQ5/FrRGlolqIW/wcoCzho MQ9Q== Received: by 10.216.210.5 with SMTP id t5mr18365302weo.32.1351680023071; Wed, 31 Oct 2012 03:40:23 -0700 (PDT) Received: from dragon.dg (41-132-211-149.dsl.mweb.co.za. [41.132.211.149]) by mx.google.com with ESMTPS id k20sm17438353wiv.11.2012.10.31.03.40.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2012 03:40:22 -0700 (PDT) From: David Naylor To: Jan Beich Subject: Re: nvidia libs have an unrecognized owner (Was: Wine-fbsd64 updated to 1.5.16) Date: Wed, 31 Oct 2012 12:40:14 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.9.1; amd64; ; ) References: <201210281149.50550.naylor.b.david@gmail.com> <1TSRmd-0007jg-MD@internal.tormail.org> In-Reply-To: <1TSRmd-0007jg-MD@internal.tormail.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2399590.p0bHYMrrar"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201210311240.17601.naylor.b.david@gmail.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 10:40:30 -0000 --nextPart2399590.p0bHYMrrar Content-Type: multipart/mixed; boundary="Boundary-01=_OAQkQ+rTIBGp/ps" Content-Transfer-Encoding: 7bit --Boundary-01=_OAQkQ+rTIBGp/ps Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Thanks for your report, I have amended the patch-nvidia.sh file per your=20 suggestions (see attached). It will be included in the next set of package= s. =20 Regards On Sunday, 28 October 2012 14:02:34 Jan Beich wrote: > After running patch-nvidia.sh some files are left not owned by root. >=20 > $ ls -l /usr/local/lib32/ | awk '$3 ~ /[[:digit:]]/ || $4 ~ /[[:digit:]]/' > -rwxr-xr-x 1 2402 30 802148 Oct 9 18:30 libGL.so.1 > -rwxr-xr-x 1 2402 30 29200980 Oct 9 18:29 libnvidia-glcore.so.1 > -rwxr-xr-x 1 2402 30 3588 Oct 9 18:32 libnvidia-tls.so.1 >=20 > $ tar tvf /d/NVIDIA-FreeBSD-x86-310.14.tar.gz --include \*.so\* > ... > -rwxr-xr-x 0 buildmeister gopher 29200980 Oct 9 18:29 > NVIDIA-FreeBSD-x86-310.14/obj/libnvidia-glcore.so.1 -rwxr-xr-x 0 > buildmeister gopher 136392 Oct 9 18:33 > NVIDIA-FreeBSD-x86-310.14/obj/libnvidia-cfg.so.1 -rwxr-xr-x 0 > buildmeister gopher 802148 Oct 9 18:30 > NVIDIA-FreeBSD-x86-310.14/obj/libGL.so.1 >=20 > This is caused by tar(1) trying to preserve ownership/permissions when > running under root by default. Here's how the ports tree handles it: >=20 > EXTRACT_AFTER_ARGS?=3D | ${TAR} -xf - --no-same-owner --no-same- permissions >=20 > But wrong permissions are less noticeble there because install(1) with > -o/-g/-m flags usually discards them anyway. --Boundary-01=_OAQkQ+rTIBGp/ps-- --nextPart2399590.p0bHYMrrar Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEABECAAYFAlCRABEACgkQUaaFgP9pFrI74wCeNaIcUpUCPuk78YRZJJk906hF W68AmwVBWggens4j90LmJVbG88PT4rya =NpKM -----END PGP SIGNATURE----- --nextPart2399590.p0bHYMrrar--