Test: /tests/security/open_basedir_readlink.phpt - Version 5.4.21    

There are 4 different diffs reported by users for this test.

Count Diff
5 (56%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/opt/facturacion/php-5.4.21/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /opt/facturacion/php-5.4.21/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/opt/facturacion/php-5.4.21/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /opt/facturacion/php-5.4.21/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/opt/facturacion/php-5.4.21/tests/security/test/ok): Directory not empty in /opt/facturacion/php-5.4.21/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/opt/facturacion/php-5.4.21/tests/security/test): Directory not empty in /opt/facturacion/php-5.4.21/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /opt/facturacion/php-5.4.21/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /opt/facturacion/php-5.4.21/tests/security/open_basedir.inc on line 65
016+ bool(false)
003- bool(true)
004- bool(true)
006- bool(true)
018+
019+ Warning: symlink(): open_basedir restriction in effect. File(/root/facturacion/php-5.4.21/tests/security/test/bad/bad.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 12
020+ bool(false)
2 (22%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/usr/local/php/php-5.4.21/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /usr/local/php/php-5.4.21/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/usr/local/php/php-5.4.21/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /usr/local/php/php-5.4.21/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/usr/local/php/php-5.4.21/tests/security/test/ok): Directory not empty in /usr/local/php/php-5.4.21/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/usr/local/php/php-5.4.21/tests/security/test): Directory not empty in /usr/local/php/php-5.4.21/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /usr/local/php/php-5.4.21/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /usr/local/php/php-5.4.21/tests/security/open_basedir.inc on line 65
016+ bool(false)
003- bool(true)
004- bool(true)
006- bool(true)
018+
019+ Warning: symlink(): open_basedir restriction in effect. File(/mnt/php-5.4.21/tests/security/test/bad/bad.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 12
020+ bool(false)
1 (11%)
003+
004+ Warning: unlink(/home/pierrot/Bureau/php-5.4.21/tests/security/test/bad/bad.txt): Permission denied in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 47
005+
006+ Warning: rmdir(/home/pierrot/Bureau/php-5.4.21/tests/security/test/bad): Permission denied in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 55
007+
008+ Warning: unlink(/home/pierrot/Bureau/php-5.4.21/tests/security/test/ok/ok.txt): Permission denied in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 47
009+
010+ Warning: unlink(/home/pierrot/Bureau/php-5.4.21/tests/security/test/ok/symlink.txt): Permission denied in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 47
011+
012+ Warning: rmdir(/home/pierrot/Bureau/php-5.4.21/tests/security/test/ok): Permission denied in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 55
013+
014+ Warning: rmdir(/home/pierrot/Bureau/php-5.4.21/tests/security/test): Directory not empty in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 55
015+
016+ Warning: mkdir(): File exists in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 64
017+ bool(false)
003- bool(true)
004- bool(true)
005- bool(true)
006- bool(true)
008- Warning: readlink(): open_basedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s on line %d
011- Warning: readlink(): open_basedir restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s on line %d
014- Warning: readlink(): open_basedir restriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s on line %d
019+ Warning: mkdir(): File exists in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 65
022+ Warning: mkdir(): File exists in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 66
025+ Warning: file_put_contents(/home/pierrot/Bureau/php-5.4.21/tests/security/test/ok/ok.txt): failed to open stream: Permission denied in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 67
026+
027+ Warning: file_put_contents(/home/pierrot/Bureau/php-5.4.21/tests/security/test/bad/bad.txt): failed to open stream: Permission denied in /home/pierrot/Bureau/php-5.4.21/tests/security/open_basedir.inc on line 68
028+
029+ Warning: symlink(): File exists in %s/open_basedir_readlink.php on line 12
032+ Warning: readlink(): open_basedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 16
033+ bool(false)
034+
035+ Warning: readlink(): open_basedir restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 17
036+ bool(false)
037+
038+ Warning: readlink(): open_basedir restriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 18
039+ bool(false)
040+
1 (11%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/home/davide/src/php-5.4.21/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /home/davide/src/php-5.4.21/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/home/davide/src/php-5.4.21/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /home/davide/src/php-5.4.21/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/home/davide/src/php-5.4.21/tests/security/test/ok): Directory not empty in /home/davide/src/php-5.4.21/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/home/davide/src/php-5.4.21/tests/security/test): Directory not empty in /home/davide/src/php-5.4.21/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /home/davide/src/php-5.4.21/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /home/davide/src/php-5.4.21/tests/security/open_basedir.inc on line 65
016+ bool(false)
003- bool(true)
004- bool(true)
006- bool(true)
018+
019+ Warning: symlink(): open_basedir restriction in effect. File(/home/davide/Downloads/php-5.4.21/tests/security/test/bad/bad.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 12
020+ bool(false)