Test: /tests/security/open_basedir_copy.phpt - Version 7.4.27    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
003+ 004+ Warning: mkdir(): File exists in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 64 005+ bool(false) 006+ 007+ Warning: mkdir(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 65 008+ bool(false) 009+ 010+ Warning: mkdir(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/bad) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 66 011+ bool(false) 012+ 013+ Warning: file_put_contents(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok/ok.txt) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 67 014+ 015+ Warning: file_put_contents(/usr/src/packages/BUILD/php-7.4.27/test/ok/ok.txt): failed to open stream: Operation not permitted in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 67 016+ 017+ Warning: file_put_contents(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/bad/bad.txt) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 68 018+ 019+ Warning: file_put_contents(/usr/src/packages/BUILD/php-7.4.27/test/bad/bad.txt): failed to open stream: Operation not permitted in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 68 020+ 021+ Warning: chdir(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 99 022+ bool(false) 023+ 024+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 5 025+ bool(false) 026+ 027+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 6 028+ bool(false) 029+ 030+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 7 031+ bool(false) 032+ 033+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 8 034+ bool(false) 035+ 036+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 9 037+ bool(false) 038+ 039+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 10 040+ bool(false) 041+ 042+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 11 043+ bool(false) 044+ 045+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 12 046+ bool(false) 047+ 048+ Warning: copy(ok.txt): failed to open stream: No such file or directory in %s/open_basedir_copy.php on line 14 049+ bool(false) 003- bool(true) 004- bool(true) 005- bool(true) 006- bool(true) 008- Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d 009- 010- Warning: copy(../bad): failed to open stream: %s in %s on line %d 012- 051+ Warning: unlink(copy.txt): No such file or directory in %s/open_basedir_copy.php on line 15 053+ *** Finished testing open_basedir configuration [copy] *** 013- Warning: copy(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d 014- 015- Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d 016- bool(false) 017- 018- Warning: copy(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d 019- 020- Warning: copy(..): failed to open stream: %s in %s on line %d 021- bool(false) 022- 023- Warning: copy(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d 024- 025- Warning: copy(../): failed to open stream: %s in %s on line %d 026- bool(false) 027- 028- Warning: copy(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d 029- 030- Warning: copy(/): failed to open stream: %s in %s on line %d 031- bool(false) 032- 033- Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d 034- 035- Warning: copy(../bad/.): failed to open stream: %s in %s on line %d 036- bool(false) 037- 038- Warning: copy(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on line %d 039- 040- Warning: copy(../bad/./bad.txt): failed to open stream: %s in %s on line %d 041- bool(false) 042- 043- Warning: copy(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d 044- 045- Warning: copy(./../.): failed to open stream: %s in %s on line %d 046- bool(false) 047- bool(true) 048- bool(true) 049- *** Finished testing open_basedir configuration [copy] ***