Followup-For: Bug #439912
Package: egroupware-core
Version: 1.4.001.dfsg-2.1
*** Please type your report below this line ***
The problem with specifying the "files" directory, comes from a bug
in /usr/share/egroupware/setup/inc/functions.inc.php at line 86:
$len = strlen($docroot);
if ($docroot == substr($dir,0,$len)) {
If "$docroot" is empty (which it may be) then the above will always
evaluate to true, and the setting is denied. One should check the
length of "$docroot" to ensure that's not the case:
$len = strlen($docroot);
if ($len != 0 && $docroot == substr($dir,0,$len)) {
That solves the problem.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages egroupware-core depends on:
ii apache2-mpm-prefork [apache2 2.2.6-1 Traditional model for Apache HTTPD
ii debconf [debconf-2.0] 1.5.14 Debian configuration management sy
ii egroupware-egw-pear 1.4.001-1 modified PEAR modules for eGroupWa
ii libapache2-mod-php5 5.2.3-1+b2 server-side, HTML-embedded scripti
ii perl 5.8.8-7 Larry Wall's Practical Extraction
ii php-fpdf 1.53.dfsg-5 PHP class to generate PDF files
ii php-log 1.9.11-1 Log module for PEAR
ii php-pear 5.2.3-1 PEAR - PHP Extension and Applicati
ii php5-cli 5.2.3-1+b2 command-line interpreter for the p
ii php5-gd 5.2.3-1+b2 GD module for php5
ii php5-mysql 5.2.3-1+b2 MySQL module for php5
ii php5-pgsql 5.2.3-1+b2 PostgreSQL module for php5
Versions of packages egroupware-core recommends:
ii mysql-client 5.0.45-1 MySQL database client (meta packag
ii mysql-client-5.0 [mysql-clien 5.0.45-1 MySQL database client binaries
ii postgresql-client 8.2.4-3 front-end programs for PostgreSQL
ii postgresql-client-8.2 [postgr 8.2.4-3 front-end programs for PostgreSQL
-- debconf information:
egroupware/header/password/mismatch:
* egroupware/configuration/note:
* egroupware/header/user: hehi
* egroupware/webserver: Apache 2
--
___ | Christian Holm Christensen
|_| | -------------------------------------------------------------
| | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
_| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91
_| Denmark Office: (+45) 353 25 404
____| Email: [EMAIL PROTECTED] Web: www.nbi.dk/~cholm
| |
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]