Hi, Thanks for your report, I have amended the patch-nvidia.sh file per your suggestions (see attached). It will be included in the next set of packages.
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. > > $ 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 > > $ 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 > > 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: > > EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --no-same-owner --no-same- permissions > > But wrong permissions are less noticeble there because install(1) with > -o/-g/-m flags usually discards them anyway.
signature.asc
Description: This is a digitally signed message part.