johannes                Sun Sep  7 22:34:40 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/tests/security     open_basedir_copy.phpt 
                                open_basedir_dir.phpt 
                                open_basedir_error_log_variation.phpt 
                                open_basedir_file.phpt 
                                open_basedir_file_get_contents.phpt 
                                open_basedir_file_put_contents.phpt 
                                open_basedir_fopen.phpt 
                                open_basedir_opendir.phpt 
                                open_basedir_scandir.phpt 
  Log:
  - MFH: The exact error message might differ (it's "Not owner" on Solaris)
  
  
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_copy.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_copy.phpt
diff -u php-src/tests/security/open_basedir_copy.phpt:1.1.4.2 
php-src/tests/security/open_basedir_copy.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_copy.phpt:1.1.4.2       Fri May  9 
08:39:44 2008
+++ php-src/tests/security/open_basedir_copy.phpt       Sun Sep  7 22:34:39 2008
@@ -36,42 +36,42 @@
 
 Warning: copy(): open_basedir restriction in effect. File(../bad) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: copy(../bad): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: copy(../bad): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: copy(): open_basedir restriction in effect. File(../bad/bad.txt) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: copy(../bad/bad.txt): failed to open stream: Operation not permitted 
in %s on line %d
+Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: copy(): open_basedir restriction in effect. File(..) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: copy(..): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: copy(..): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: copy(): open_basedir restriction in effect. File(../) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: copy(../): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: copy(../): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: copy(): open_basedir restriction in effect. File(/) is not within the 
allowed path(s): (.) in %s on line %d
 
-Warning: copy(/): failed to open stream: Operation not permitted in %s on line 
%d
+Warning: copy(/): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: copy(../bad/.): failed to open stream: Operation not permitted in %s 
on line %d
+Warning: copy(../bad/.): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: copy(): open_basedir restriction in effect. File(../bad/./bad.txt) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: copy(../bad/./bad.txt): failed to open stream: Operation not 
permitted in %s on line %d
+Warning: copy(../bad/./bad.txt): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: copy(): open_basedir restriction in effect. File(./../.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: copy(./../.): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: copy(./../.): failed to open stream: %s in %s on line %d
 bool(false)
 bool(true)
 bool(true)
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_dir.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_dir.phpt
diff -u php-src/tests/security/open_basedir_dir.phpt:1.1.4.2 
php-src/tests/security/open_basedir_dir.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_dir.phpt:1.1.4.2        Fri May  9 
08:39:44 2008
+++ php-src/tests/security/open_basedir_dir.phpt        Sun Sep  7 22:34:39 2008
@@ -29,42 +29,42 @@
 
 Warning: dir(): open_basedir restriction in effect. File(../bad) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: dir(../bad): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: dir(../bad): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: dir(): open_basedir restriction in effect. File(../bad/bad.txt) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: dir(../bad/bad.txt): failed to open dir: Operation not permitted in 
%s on line %d
+Warning: dir(../bad/bad.txt): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: dir(): open_basedir restriction in effect. File(..) is not within the 
allowed path(s): (.) in %s on line %d
 
-Warning: dir(..): failed to open dir: Operation not permitted in %s on line %d
+Warning: dir(..): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: dir(): open_basedir restriction in effect. File(../) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: dir(../): failed to open dir: Operation not permitted in %s on line %d
+Warning: dir(../): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: dir(): open_basedir restriction in effect. File(/) is not within the 
allowed path(s): (.) in %s on line %d
 
-Warning: dir(/): failed to open dir: Operation not permitted in %s on line %d
+Warning: dir(/): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: dir(): open_basedir restriction in effect. File(../bad/.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: dir(../bad/.): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: dir(../bad/.): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) 
is not within the allowed path(s): (.) in %s on line %d
 
-Warning: dir(%s/test/bad/bad.txt): failed to open dir: Operation not permitted 
in %s on line %d
+Warning: dir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: dir(): open_basedir restriction in effect. 
File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s 
on line %d
 
-Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation not 
permitted in %s on line %d
+Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line 
%d
 bool(false)
 object(Directory)#%d (2) {
   ["path"]=>
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_error_log_variation.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_error_log_variation.phpt
diff -u php-src/tests/security/open_basedir_error_log_variation.phpt:1.1.4.2 
php-src/tests/security/open_basedir_error_log_variation.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_error_log_variation.phpt:1.1.4.2        
Fri May  9 08:39:44 2008
+++ php-src/tests/security/open_basedir_error_log_variation.phpt        Sun Sep 
 7 22:34:39 2008
@@ -31,17 +31,17 @@
 
 Warning: error_log(): open_basedir restriction in effect. 
File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line 
%d
 
-Warning: error_log(%s/test/bad/bad.txt): failed to open stream: Operation not 
permitted in %s on line %d
+Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on 
line %d
 bool(false)
 
 Warning: error_log(): open_basedir restriction in effect. 
File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: error_log(%s/test/bad.txt): failed to open stream: Operation not 
permitted in %s on line %d
+Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: error_log(): open_basedir restriction in effect. File(%s/bad.txt) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: error_log(%s/bad.txt): failed to open stream: Operation not permitted 
in %s on line %d
+Warning: error_log(%s/bad.txt): failed to open stream: %s in %s on line %d
 bool(false)
 bool(true)
 *** Finished testing open_basedir configuration [error_log] ***
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_file.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_file.phpt
diff -u php-src/tests/security/open_basedir_file.phpt:1.1.4.2 
php-src/tests/security/open_basedir_file.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_file.phpt:1.1.4.2       Fri May  9 
08:39:44 2008
+++ php-src/tests/security/open_basedir_file.phpt       Sun Sep  7 22:34:39 2008
@@ -31,42 +31,42 @@
 
 Warning: file(): open_basedir restriction in effect. File(../bad) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: file(../bad): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: file(../bad): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file(): open_basedir restriction in effect. File(../bad/bad.txt) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: file(../bad/bad.txt): failed to open stream: Operation not permitted 
in %s on line %d
+Warning: file(../bad/bad.txt): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file(): open_basedir restriction in effect. File(..) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: file(..): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: file(..): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file(): open_basedir restriction in effect. File(../) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: file(../): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: file(../): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file(): open_basedir restriction in effect. File(/) is not within the 
allowed path(s): (.) in %s on line %d
 
-Warning: file(/): failed to open stream: Operation not permitted in %s on line 
%d
+Warning: file(/): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file(): open_basedir restriction in effect. File(../bad/.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: file(../bad/.): failed to open stream: Operation not permitted in %s 
on line %d
+Warning: file(../bad/.): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) 
is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file(%s/test/bad/bad.txt): failed to open stream: Operation not 
permitted in %s on line %d
+Warning: file(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file(): open_basedir restriction in effect. 
File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s 
on line %d
 
-Warning: file(%s/test/bad/../bad/bad.txt): failed to open stream: Operation 
not permitted in %s on line %d
+Warning: file(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on 
line %d
 bool(false)
 array(1) {
   [0]=>
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_file_get_contents.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_file_get_contents.phpt
diff -u php-src/tests/security/open_basedir_file_get_contents.phpt:1.1.4.2 
php-src/tests/security/open_basedir_file_get_contents.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_file_get_contents.phpt:1.1.4.2  Fri May 
 9 08:39:44 2008
+++ php-src/tests/security/open_basedir_file_get_contents.phpt  Sun Sep  7 
22:34:39 2008
@@ -31,42 +31,42 @@
 
 Warning: file_get_contents(): open_basedir restriction in effect. File(../bad) 
is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_get_contents(../bad): failed to open stream: Operation not 
permitted in %s on line %d
+Warning: file_get_contents(../bad): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file_get_contents(): open_basedir restriction in effect. 
File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_get_contents(../bad/bad.txt): failed to open stream: Operation 
not permitted in %s on line %d
+Warning: file_get_contents(../bad/bad.txt): failed to open stream: %s in %s on 
line %d
 bool(false)
 
 Warning: file_get_contents(): open_basedir restriction in effect. File(..) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_get_contents(..): failed to open stream: Operation not permitted 
in %s on line %d
+Warning: file_get_contents(..): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file_get_contents(): open_basedir restriction in effect. File(../) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_get_contents(../): failed to open stream: Operation not 
permitted in %s on line %d
+Warning: file_get_contents(../): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file_get_contents(): open_basedir restriction in effect. File(/) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_get_contents(/): failed to open stream: Operation not permitted 
in %s on line %d
+Warning: file_get_contents(/): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: file_get_contents(): open_basedir restriction in effect. 
File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_get_contents(../bad/.): failed to open stream: Operation not 
permitted in %s on line %d
+Warning: file_get_contents(../bad/.): failed to open stream: %s in %s on line 
%d
 bool(false)
 
 Warning: file_get_contents(): open_basedir restriction in effect. 
File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line 
%d
 
-Warning: file_get_contents(%s/test/bad/bad.txt): failed to open stream: 
Operation not permitted in %s on line %d
+Warning: file_get_contents(%s/test/bad/bad.txt): failed to open stream: %s in 
%s on line %d
 bool(false)
 
 Warning: file_get_contents(): open_basedir restriction in effect. 
File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s 
on line %d
 
-Warning: file_get_contents(%s/test/bad/../bad/bad.txt): failed to open stream: 
Operation not permitted in %s on line %d
+Warning: file_get_contents(%s/test/bad/../bad/bad.txt): failed to open stream: 
%s in %s on line %d
 bool(false)
 string(12) "Hello World!"
 string(12) "Hello World!"
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_file_put_contents.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_file_put_contents.phpt
diff -u php-src/tests/security/open_basedir_file_put_contents.phpt:1.1.4.2 
php-src/tests/security/open_basedir_file_put_contents.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_file_put_contents.phpt:1.1.4.2  Fri May 
 9 08:39:44 2008
+++ php-src/tests/security/open_basedir_file_put_contents.phpt  Sun Sep  7 
22:34:40 2008
@@ -31,27 +31,27 @@
 
 Warning: file_put_contents(): open_basedir restriction in effect. 
File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_put_contents(../bad/bad.txt): failed to open stream: Operation 
not permitted in %s on line %d
+Warning: file_put_contents(../bad/bad.txt): failed to open stream: %s in %s on 
line %d
 bool(false)
 
 Warning: file_put_contents(): open_basedir restriction in effect. 
File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_put_contents(.././bad/bad.txt): failed to open stream: Operation 
not permitted in %s on line %d
+Warning: file_put_contents(.././bad/bad.txt): failed to open stream: %s in %s 
on line %d
 bool(false)
 
 Warning: file_put_contents(): open_basedir restriction in effect. 
File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on 
line %d
 
-Warning: file_put_contents(../bad/../bad/bad.txt): failed to open stream: 
Operation not permitted in %s on line %d
+Warning: file_put_contents(../bad/../bad/bad.txt): failed to open stream: %s 
in %s on line %d
 bool(false)
 
 Warning: file_put_contents(): open_basedir restriction in effect. 
File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_put_contents(./.././bad/bad.txt): failed to open stream: 
Operation not permitted in %s on line %d
+Warning: file_put_contents(./.././bad/bad.txt): failed to open stream: %s in 
%s on line %d
 bool(false)
 
 Warning: file_put_contents(): open_basedir restriction in effect. 
File%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: file_put_contents%s/test/bad/bad.txt): failed to open stream: 
Operation not permitted in %s on line %d
+Warning: file_put_contents%s/test/bad/bad.txt): failed to open stream: %s in 
%s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [file_put_contents] ***
 
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_fopen.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_fopen.phpt
diff -u php-src/tests/security/open_basedir_fopen.phpt:1.1.4.2 
php-src/tests/security/open_basedir_fopen.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_fopen.phpt:1.1.4.2      Fri May  9 
08:39:44 2008
+++ php-src/tests/security/open_basedir_fopen.phpt      Sun Sep  7 22:34:40 2008
@@ -40,42 +40,42 @@
 
 Warning: fopen(): open_basedir restriction in effect. File(../bad) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(../bad): failed to open stream: Operation not permitted in %s 
on line %d
+Warning: fopen(../bad): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: fopen(): open_basedir restriction in effect. File(../bad/bad.txt) is 
not within the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(../bad/bad.txt): failed to open stream: Operation not permitted 
in %s on line %d
+Warning: fopen(../bad/bad.txt): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: fopen(): open_basedir restriction in effect. File(..) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(..): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: fopen(..): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: fopen(): open_basedir restriction in effect. File(../) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(../): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: fopen(../): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: fopen(): open_basedir restriction in effect. File(/) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(/): failed to open stream: Operation not permitted in %s on 
line %d
+Warning: fopen(/): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: fopen(): open_basedir restriction in effect. File(../bad/.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(../bad/.): failed to open stream: Operation not permitted in %s 
on line %d
+Warning: fopen(../bad/.): failed to open stream: %s in %s on line %d
 bool(false)
 
 Warning: fopen(): open_basedir restriction in effect. File(../bad/./bad.txt) 
is not within the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(../bad/./bad.txt): failed to open stream: Operation not 
permitted in %s on line 12
+Warning: fopen(../bad/./bad.txt): failed to open stream: %s in %s on line 12
 bool(false)
 
 Warning: fopen(): open_basedir restriction in effect. File(./../.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: fopen(./../.): failed to open stream: Operation not permitted in %s 
on line %d
+Warning: fopen(./../.): failed to open stream: %s in %s on line %d
 bool(false)
 resource(%d) of type (stream)
 resource(%d) of type (stream)
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_opendir.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_opendir.phpt
diff -u php-src/tests/security/open_basedir_opendir.phpt:1.1.4.2 
php-src/tests/security/open_basedir_opendir.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_opendir.phpt:1.1.4.2    Fri May  9 
08:39:44 2008
+++ php-src/tests/security/open_basedir_opendir.phpt    Sun Sep  7 22:34:40 2008
@@ -29,42 +29,42 @@
 
 Warning: opendir(): open_basedir restriction in effect. File(../bad) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: opendir(../bad): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: opendir(../bad): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: opendir(): open_basedir restriction in effect. File(../bad/bad.txt) 
is not within the allowed path(s): (.) in %s on line %d
 
-Warning: opendir(../bad/bad.txt): failed to open dir: Operation not permitted 
in %s on line %d
+Warning: opendir(../bad/bad.txt): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: opendir(): open_basedir restriction in effect. File(..) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: opendir(..): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: opendir(..): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: opendir(): open_basedir restriction in effect. File(../) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: opendir(../): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: opendir(../): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: opendir(): open_basedir restriction in effect. File(/) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: opendir(/): failed to open dir: Operation not permitted in %s on line 
%d
+Warning: opendir(/): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: opendir(): open_basedir restriction in effect. File(../bad/.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: opendir(../bad/.): failed to open dir: Operation not permitted in %s 
on line %d
+Warning: opendir(../bad/.): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: opendir(): open_basedir restriction in effect. 
File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line 
%d
 
-Warning: opendir(%s/test/bad/bad.txt): failed to open dir: Operation not 
permitted in %s on line %d
+Warning: opendir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
 bool(false)
 
 Warning: opendir(): open_basedir restriction in effect. 
File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s 
on line %d
 
-Warning: opendir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation 
not permitted in %s on line %d
+Warning: opendir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on 
line %d
 bool(false)
 resource(%d) of type (stream)
 resource(%d) of type (stream)
http://cvs.php.net/viewvc.cgi/php-src/tests/security/open_basedir_scandir.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/tests/security/open_basedir_scandir.phpt
diff -u php-src/tests/security/open_basedir_scandir.phpt:1.1.4.2 
php-src/tests/security/open_basedir_scandir.phpt:1.1.4.3
--- php-src/tests/security/open_basedir_scandir.phpt:1.1.4.2    Fri May  9 
08:39:44 2008
+++ php-src/tests/security/open_basedir_scandir.phpt    Sun Sep  7 22:34:40 2008
@@ -29,58 +29,58 @@
 
 Warning: scandir(): open_basedir restriction in effect. File(../bad) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: scandir(../bad): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: scandir(../bad): failed to open dir: %s in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 
 Warning: scandir(): open_basedir restriction in effect. File(../bad/bad.txt) 
is not within the allowed path(s): (.) in %s on line %d
 
-Warning: scandir(../bad/bad.txt): failed to open dir: Operation not permitted 
in %s on line %d
+Warning: scandir(../bad/bad.txt): failed to open dir: %s in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 
 Warning: scandir(): open_basedir restriction in effect. File(..) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: scandir(..): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: scandir(..): failed to open dir: %s in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 
 Warning: scandir(): open_basedir restriction in effect. File(../) is not 
within the allowed path(s): (.) in %s on line 80
 
-Warning: scandir(../): failed to open dir: Operation not permitted in %s on 
line %d
+Warning: scandir(../): failed to open dir: %s in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 
 Warning: scandir(): open_basedir restriction in effect. File(/) is not within 
the allowed path(s): (.) in %s on line %d
 
-Warning: scandir(/): failed to open dir: Operation not permitted in %s on line 
%d
+Warning: scandir(/): failed to open dir: %s in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 
 Warning: scandir(): open_basedir restriction in effect. File(../bad/.) is not 
within the allowed path(s): (.) in %s on line %d
 
-Warning: scandir(../bad/.): failed to open dir: Operation not permitted in %s 
on line %d
+Warning: scandir(../bad/.): failed to open dir: %s in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 
 Warning: scandir(): open_basedir restriction in effect. 
File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line 
%d
 
-Warning: scandir(%s/test/bad/bad.txt): failed to open dir: Operation not 
permitted in %s on line %d
+Warning: scandir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 
 Warning: scandir(): open_basedir restriction in effect. 
File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s 
on line %d
 
-Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation 
not permitted in %s on line %d
+Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on 
line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
+Warning: scandir(): (errno 1): %s in %s on line %d
 bool(false)
 array(3) {
   [0]=>

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to