Date: Fri, 16 Jan 2004 22:10:47 +1100 (EST) From: Chris Knight <chris@e-easy.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61417: [MAINTAINER UPDATE] databases/firebird: relax file permissions Message-ID: <200401161110.i0GBAlua001056@ait0fd03.aims.private> Resent-Message-ID: <200401161200.i0GC0V30048830@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61417 >Category: ports >Synopsis: [MAINTAINER UPDATE] databases/firebird: relax file permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jan 16 04:00:31 PST 2004 >Closed-Date: >Last-Modified: >Originator: Chris Knight >Release: FreeBSD 5.2-CURRENT i386 >Organization: E-Easy >Environment: System: FreeBSD ait0fd03.aims.private 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Jan 16 13:32:52 EST 2004 root@ait0fd03.aims.private:/u1/obj5/usr/src/sys/OMNIBOOK5 i386 >Description: Relax file permissions on the config files. This allows people to get up and running with PHP more easily. >How-To-Repeat: Build firebird, then PHP with the Interbase extension. Interbase database calls in PHP will exit silently until you add the www user to the firebird group or make /usr/local/firebird/firebird.conf world readable. >Fix: Index: pkg-install =================================================================== RCS file: /home/ncvs/ports/databases/firebird/pkg-install,v retrieving revision 1.8 diff -u -r1.8 pkg-install --- pkg-install 13 Jan 2004 16:11:10 -0000 1.8 +++ pkg-install 16 Jan 2004 11:03:31 -0000 @@ -137,7 +137,7 @@ chmod ug=rw,o= help/*.fdb chmod ug=rw,o= security.fdb -chmod 440 aliases.conf firebird.conf +chmod 444 aliases.conf firebird.conf chmod 660 security.fdb # remove any existing gds service Index: files/patch-src::install::arch-specific::freebsd::install.sh.in =================================================================== RCS file: /home/ncvs/ports/databases/firebird/files/patch-src::install::arch-specific::freebsd::install.sh.in,v retrieving revision 1.1 diff -u -r1.1 patch-src::install::arch-specific::freebsd::install.sh.in --- files/patch-src::install::arch-specific::freebsd::install.sh.in 13 Jan 2004 16:11:11 -0000 1.1 +++ files/patch-src::install::arch-specific::freebsd::install.sh.in 16 Jan 2004 11:01:28 -0000 @@ -84,8 +84,8 @@ -chmod ug=rw,o= security.fdb + +# install the samples if they don't exist -+[ -f aliases.conf ] || install -o $fbUID -g $fbGID -m 440 aliases.conf.sample aliases.conf -+[ -f firebird.conf ] || install -o $fbUID -g $fbGID -m 440 firebird.conf.sample firebird.conf ++[ -f aliases.conf ] || install -o $fbUID -g $fbGID -m 444 aliases.conf.sample aliases.conf ++[ -f firebird.conf ] || install -o $fbUID -g $fbGID -m 444 firebird.conf.sample firebird.conf +[ -f security.fdb ] || install -o $fbUID -g $fbGID -m 660 security.fdb.sample security.fdb # remove any existing gds service >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401161110.i0GBAlua001056>