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

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

Count Diff
1 (17%)
003+
004+ Warning: unlink(/home/kyle/temp/php-5.4.5/tests/security/test/ok/ok.txt): Permission denied in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 47
005+
006+ Warning: unlink(/home/kyle/temp/php-5.4.5/tests/security/test/ok/symlink.txt): Permission denied in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/home/kyle/temp/php-5.4.5/tests/security/test/ok): Permission denied in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 55
009+
010+ Warning: unlink(/home/kyle/temp/php-5.4.5/tests/security/test/bad/bad.txt): Permission denied in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 47
011+
012+ Warning: rmdir(/home/kyle/temp/php-5.4.5/tests/security/test/bad): Permission denied in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 55
013+
014+ Warning: rmdir(/home/kyle/temp/php-5.4.5/tests/security/test): Directory not empty in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 55
015+
016+ Warning: mkdir(): File exists in /home/kyle/temp/php-5.4.5/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/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 65
022+ Warning: mkdir(): File exists in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 66
025+ Warning: file_put_contents(/home/kyle/temp/php-5.4.5/tests/security/test/ok/ok.txt): failed to open stream: Permission denied in /home/kyle/temp/php-5.4.5/tests/security/open_basedir.inc on line 67
026+
027+ Warning: file_put_contents(/home/kyle/temp/php-5.4.5/tests/security/test/bad/bad.txt): failed to open stream: Permission denied in /home/kyle/temp/php-5.4.5/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 (17%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/usr/src/php-5.4.5-prefork/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /usr/src/php-5.4.5-prefork/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/usr/src/php-5.4.5-prefork/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /usr/src/php-5.4.5-prefork/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/usr/src/php-5.4.5-prefork/tests/security/test/ok): Directory not empty in /usr/src/php-5.4.5-prefork/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/usr/src/php-5.4.5-prefork/tests/security/test): Directory not empty in /usr/src/php-5.4.5-prefork/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /usr/src/php-5.4.5-prefork/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /usr/src/php-5.4.5-prefork/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(/usr/src/php-5.4.5/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 (17%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/usr/local/src/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /usr/local/src/php-5.4.5/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/usr/local/src/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /usr/local/src/php-5.4.5/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/usr/local/src/php-5.4.5/tests/security/test/ok): Directory not empty in /usr/local/src/php-5.4.5/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/usr/local/src/php-5.4.5/tests/security/test): Directory not empty in /usr/local/src/php-5.4.5/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /usr/local/src/php-5.4.5/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /usr/local/src/php-5.4.5/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/php-5.4.5/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 (17%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/sam/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /sam/php-5.4.5/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/sam/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /sam/php-5.4.5/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/sam/php-5.4.5/tests/security/test/ok): Directory not empty in /sam/php-5.4.5/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/sam/php-5.4.5/tests/security/test): Directory not empty in /sam/php-5.4.5/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /sam/php-5.4.5/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /sam/php-5.4.5/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(/ihp/src/php-5.4.5/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 (17%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/root/php/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /root/php/php-5.4.5/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/root/php/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /root/php/php-5.4.5/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/root/php/php-5.4.5/tests/security/test/ok): Directory not empty in /root/php/php-5.4.5/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/root/php/php-5.4.5/tests/security/test): Directory not empty in /root/php/php-5.4.5/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /root/php/php-5.4.5/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /root/php/php-5.4.5/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/sc222300/php/php-5.4.5/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 (17%)
003+
004+ Warning: is_dir(): open_basedir restriction in effect. File(/root/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /root/php-5.4.5/tests/security/open_basedir.inc on line 43
005+
006+ Warning: unlink(): open_basedir restriction in effect. File(/root/php-5.4.5/tests/security/test/ok/symlink.txt) is not within the allowed path(s): (.) in /root/php-5.4.5/tests/security/open_basedir.inc on line 47
007+
008+ Warning: rmdir(/root/php-5.4.5/tests/security/test/ok): Directory not empty in /root/php-5.4.5/tests/security/open_basedir.inc on line 55
009+
010+ Warning: rmdir(/root/php-5.4.5/tests/security/test): Directory not empty in /root/php-5.4.5/tests/security/open_basedir.inc on line 55
011+
012+ Warning: mkdir(): File exists in /root/php-5.4.5/tests/security/open_basedir.inc on line 64
013+ bool(false)
014+
015+ Warning: mkdir(): File exists in /root/php-5.4.5/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/sonny/下载/php-5.4.5/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)