tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"error: ... : world-writable file."



Hi,

on an omnios system bootstrapped from smartos pkgsrc, I see a package build fail with

[...]
=> Checking file permissions in py37-importlib-metadata-0.19
warning: /var/obj/pkgsrc: group-writable directory.
warning: /var/obj: group-writable directory.
warning: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/docs/changelog.rst: group-writable file. error: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/docs/changelog.rst: world-writable file. warning: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/docs/index.rst: group-writable file. error: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/docs/index.rst: world-writable file. warning: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/docs/using.rst: group-writable file. error: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/docs/using.rst: world-writable file. warning: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3-none-any.whl: group-writable file. error: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3-none-any.whl: world-writable file. warning: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3.6.egg: group-writable file. error: /var/obj/pkgsrc/devel/py-importlib-metadata/work/.destdir/opt/local/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3.6.egg: world-writable file.
5 errors and 7 warnings.
*** Error code 1

while the package builds fine (permissions correct) on netbsd-9. The source tarball has several files with '0666' (built on a Mac? Wintel?).

What does NetBSD pkgsrc apply that the Illumos one is missing?

Cheerio,
hauke


(As a workaround, I just ran a find job over work/.destdir top fix permissions, and packaged. But I shouldn't have to do that.)

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email	        Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index