Lines Matching refs:chmod
10 test_open_basedir_before("chmod");
12 var_dump(chmod("../bad", 0600));
13 var_dump(chmod("../bad/bad.txt", 0600));
14 var_dump(chmod("..", 0600));
15 var_dump(chmod("../", 0600));
16 var_dump(chmod("/", 0600));
17 var_dump(chmod("../bad/.", 0600));
18 var_dump(chmod("../bad/./bad.txt", 0600));
19 var_dump(chmod("./../.", 0600));
21 var_dump(chmod($initdir."/test/ok/ok.txt", 0600));
22 var_dump(chmod("./ok.txt", 0600));
23 var_dump(chmod("ok.txt", 0600));
24 var_dump(chmod("../ok/ok.txt", 0600));
25 var_dump(chmod("../ok/./ok.txt", 0600));
26 chmod($initdir."/test/ok/ok.txt", 0777);
28 test_open_basedir_after("chmod");
36 *** Testing open_basedir configuration [chmod] ***
43 Warning: chmod(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
46 Warning: chmod(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe…
49 Warning: chmod(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
52 Warning: chmod(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
55 Warning: chmod(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
58 Warning: chmod(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path…
61 Warning: chmod(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
64 Warning: chmod(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
71 *** Finished testing open_basedir configuration [chmod] ***