Date: Wed, 31 Oct 2012 12:40:14 +0200 From: David Naylor <naylor.b.david@gmail.com> To: Jan Beich <jbeich@tormail.org> Cc: freebsd-emulation@freebsd.org Subject: Re: nvidia libs have an unrecognized owner (Was: Wine-fbsd64 updated to 1.5.16) Message-ID: <201210311240.17601.naylor.b.david@gmail.com> In-Reply-To: <1TSRmd-0007jg-MD@internal.tormail.org> References: <201210281149.50550.naylor.b.david@gmail.com> <1TSRmd-0007jg-MD@internal.tormail.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210311240.17601.naylor.b.david>
