Date: Wed, 19 Jul 2006 16:39:59 +0200 (CEST) From: boelaars@flatrock.eu To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/100541: Bug in installing any php4-extension as non-root user: file that needs writing during install is set to mode 444 during install. Message-ID: <200607191439.k6JEdxDI012987@bawls.s.quoo.net> Resent-Message-ID: <200607191440.k6JEeFZD064090@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100541 >Category: i386 >Synopsis: Bug in installing any php4-extension as non-root user: file that needs writing during install is set to mode 444 during install. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 19 14:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Steffen M. Boelaars >Release: FreeBSD 6.0-RELEASE i386 >Organization: Flat Rock ICT Services >Environment: System: FreeBSD bawls.s.quoo.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Dec 12 23:29:47 CET 2005 peter@bawls.s.quoo.net:/usr/obj/usr/src/sys/GENERIC i386 Everything is being installed as a normal user. All used apps and libs are in ${HOME}/apps. Those are the environment variables in use when doing 'make install' in /usr/ports/lang/php4-extensions: __MAKE_CONF=/home/users/whiter/apps/etc/make.conf MANGRP=users LOCALBASE=/home/users/whiter/apps CD_MOUNTPTS=/usr PORT_DBDIR=/home/users/whiter/apps/var/db/ports PERL=/home/users/whiter/apps/bin/perl WRKDIR=/home/users/whiter/tmp SITE_PERL=/home/users/whiter/apps/lib/perl5/site_perl/5.8.8 SHAREOWN=whiter PERL_VER=5.8.8 USER=whiter PERL_VERSION=5.8.8 SHAREGRP=users BINGRP=users MANOWN=whiter PATH=/home/users/whiter/apps/bin:/home/users/whiter/apps/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/users/whiter/bin APXS=/home/users/whiter/apps/sbin/apxs FETCH_SYMLINK_DISTFILES=YES PKG_DBDIR=/home/users/whiter/apps/var/db/pkg BLOCKSIZE=K PERL5=/home/users/whiter/apps/bin/perl SU_CMD=sh -c SITE_PERL5=/home/users/whiter/apps/lib/perl5/site_perl/5.8.8 INSTALL_AS_USER=true HOME=/home/users/whiter BINOWN=whiter X11BASE=/home/users/whiter/x11apps LOGNAME=whiter PREFIX=/home/users/whiter/apps LDCONFIG=/sbin/ldconfig -i -f /home/users/whiter/apps/var/run/ld-elf.so.hints DISTDIR=/home/users/whiter/distfiles >Description: installing any php4 extension (using lang/php4-extensions port or on its own) results in the same error: whiter@bawls$ chown 644 /home/users/whiter/apps/include/php/ext/pcre/config.h whiter@bawls$ ls -la /home/users/whiter/apps/include/php/ext/pcre/|grep config -rw-r--r-- 1 whiter users 1699 Jul 19 14:04 config.h whiter@bawls$ make install ===> Installing for php4-pcre-4.4.2_2 (...) cannot create /home/users/whiter/apps/include/php/ext/pcre/config.h: Permission denied *** Error code 2 whiter@bawls$ ls -la /home/users/whiter/apps/include/php/ext/pcre/|grep config -r--r--r-- 1 whiter users 1699 Jul 19 14:05 config.h >How-To-Repeat: set your env to be like mine, and do make install in the lang/php4-extensions port, or a specific php4 extension port dir. For information on how I configured my environment, see this posting on my website: http://www.white-russian.nl/index.php?page=/blog/2006/07/installing_free.html >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607191439.k6JEdxDI012987>