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.
boelaars at flatrock.eu
boelaars at flatrock.eu
Wed Jul 19 14:40:17 UTC 2006
>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 at 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 at bawls$ chown 644 /home/users/whiter/apps/include/php/ext/pcre/config.h
whiter at 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 at 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 at 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:
More information about the freebsd-i386
mailing list