Home
last modified time | relevance | path

Searched refs:permission (Results 1 – 25 of 52) sorted by relevance

123

/PHP-8.4/ext/standard/tests/file/
H A Dumask_variation1.phpt59 File permission : 666
62 File permission : 666
65 File permission : 664
68 File permission : 664
71 File permission : 662
74 File permission : 662
77 File permission : 660
80 File permission : 660
83 File permission : 666
86 File permission : 666
[all …]
H A Dumask_variation2.phpt59 File permission : 426
62 File permission : 424
65 File permission : 424
68 File permission : 422
71 File permission : 422
74 File permission : 420
77 File permission : 420
80 File permission : 406
83 File permission : 406
86 File permission : 404
[all …]
H A Dunlink_variation5.phpt36 File permission : 0
40 File permission : 1
44 File permission : 2
48 File permission : 3
52 File permission : 4
56 File permission : 5
60 File permission : 6
64 File permission : 7
68 File permission : 8
72 File permission : 9
[all …]
H A Dunlink_variation1-win32-mb.phpt12 /* Delete file having default permission but its dir having readonly permission
13 Delete file having readonly permission but dir having default permission
32 echo "-- Unlink file having default permission and its dir having read only permission --\n";
33 // remove write permission of $dirname
34 // on windows dir permission is not respected
44 echo "\n-- Unlinking file without write permission, its dir having default permission --\n";
52 // remove write permission from file
58 // reassign write permission to temp file
71 -- Unlink file having default permission and its dir having read only permission --
77 -- Unlinking file without write permission, its dir having default permission --
H A Dunlink_variation1-win32.phpt12 /* Delete file having default permission but its dir having readonly permission
13 Delete file having readonly permission but dir having default permission
31 echo "-- Unlink file having default permission and its dir having read only permission --\n";
32 // remove write permission of $dirname
33 // on windows dir permission is not respected
43 echo "\n-- Unlinking file without write permission, its dir having default permission --\n";
51 // remove write permission from file
57 // reassign write permission to temp file
69 -- Unlink file having default permission and its dir having read only permission --
75 -- Unlinking file without write permission, its dir having default permission --
H A Dunlink_variation1.phpt13 /* Delete file having default permission but its dir having readonly permission
14 Delete file having readonly permission but dir having default permission
32 echo "-- Unlink file having default permission and its dir having read only permission --\n";
33 // remove write permission of $dirname
44 echo "\n-- Unlinking file without write permission, its dir having default permission --\n";
51 // remove write permission from file
64 -- Unlink file having default permission and its dir having read only permission --
74 -- Unlinking file without write permission, its dir having default permission --
H A D006_variation2.phpt29 /* negative values as permission */
33 /* decimal values as permission */
38 /* hex value as permission */
42 /* strings notation of permission, wont work properly */
50 foreach($perms_array as $permission) {
53 var_dump( chmod($file_name, $permission) );
62 var_dump( chmod($dir_name, $permission) );
H A Dlstat_stat_variation16.phpt21 // checking stat() on file after changing its permission
22 echo "*** Testing lstat() on a file after changing its access permission ***\n";
44 *** Testing lstat() on a file after changing its access permission ***
H A Dstat_variation6-win32.phpt29 echo "\n*** Testing stat() on file with miscellaneous file permission and content ***\n";
47 echo "\n*** Testing stat() on directory with miscellaneous file permission ***\n";
73 *** Testing stat() on file with miscellaneous file permission and content ***
79 *** Testing stat() on directory with miscellaneous file permission ***
H A Dsymlink_link_linkinfo_is_link_variation6.phpt9 /* Variation 6 : Change permission of directory and try creating links inside that directory */
12 echo "*** Creating links in a directory without permission to allow the operation ***\n";
55 *** Creating links in a directory without permission to allow the operation ***
H A Dlstat_stat_variation17.phpt18 echo "*** Testing lstat() on a dir after changing its access permission ***\n";
43 *** Testing lstat() on a dir after changing its access permission ***
H A Dstat_variation5-win32.phpt22 echo "\n*** Testing stat(): on a file with read/write permission ***\n";
53 *** Testing stat(): on a file with read/write permission ***
H A Dlstat_stat_variation15.phpt28 echo "*** Testing lstat() on a link after changing its access permission ***\n";
51 *** Testing lstat() on a link after changing its access permission ***
H A Dis_executable_variation2.phpt20 echo "\n*** Testing is_executable() on directory without execute permission ***\n";
73 *** Testing is_executable() on directory without execute permission ***
/PHP-8.4/ext/standard/tests/dir/
H A Ddir_variation7.phpt13 * remove the execute permission from the parent dir and test dir() on child dir
14 * 1) remove write & execute permission from the 1st parent and test dir()
15 * 2) remove execute permission from 2nd parent and test dir()
18 echo "*** Testing dir() : remove execute permission from the parent dir ***\n";
39 // remove the write and execute permission from sub parent
45 // remove the execute permission from parent dir, allowing all permission for sub dir
46 chmod($sub_dir_path, 0777); // all permission to sub dir
71 *** Testing dir() : remove execute permission from the parent dir ***
H A Dscandir_variation7.phpt30 /*5*/ 0400, // owner has read only, group and others have no permission
31 0600, // owner has rw only, group and others have no permission
33 /*7*/ 0470, // owner has read only, group has rwx & others have no permission
34 0407, // owner has read only, other has rwx & group has no permission
36 /*9*/ 0670, // owner has rw only, group has rwx & others have no permission
37 /*10*/ 0607 // owner has rw only, group has no permission and others have rwx
46 chmod ($dir_path, 0777); // change dir permission to allow all operation
51 // change the dir permission to test dir on it
H A Dopendir_variation7.phpt31 /*5*/ 0400, // owner has read only, group and others have no permission
32 0600, // owner has rw only, group and others have no permission
34 /*7*/ 0470, // owner has read only, group has rwx & others have no permission
35 0407, // owner has read only, other has rwx & group has no permission
37 /*9*/ 0670, // owner has rw only, group has rwx & others have no permission
38 /*10*/ 0607 // owner has rw only, group has no permission and others have rwx
41 // Open directory with different permission values, read and close, expected: none of them to succe…
49 chmod ($dir_path, 0777); // change dir permission to allow all operation
54 // change the dir permission to test dir on it
H A Dreaddir_variation5.phpt31 /*5*/ 0400, // owner has read only, group and others have no permission
32 0600, // owner has rw only, group and others have no permission
34 /*7*/ 0470, // owner has read only, group has rwx & others have no permission
35 0407, // owner has read only, other has rwx & group has no permission
37 /*9*/ 0670, // owner has rw only, group has rwx & others have no permission
38 /*10*/ 0607 // owner has rw only, group has no permission and others have rwx
41 // Open directory with different permission values, read and close, expected: none of them to succe…
47 chmod ($dir_path, 0777); // change dir permission to allow all operation
52 // change the dir permission to test dir on it
H A Dscandir_variation5.phpt13 * remove the execute permission from the parent dir and test scandir() on child dir
14 * 1. remove write & execute permission from the 1st parent and test scandir()
15 * 2. remove execute permission from 2nd parent and test scandir()
40 // remove the write and execute permission from sub parent
46 // remove the execute permission from parent dir, allowing all permission for sub dir
47 chmod($sub_dir_path, 0777); // all permission to sub dir
H A Dopendir_variation5.phpt13 * remove the execute permission from the parent dir and test opendir() on child dir
14 * 1) remove write & execute permission from the 1st parent and test opendir()
15 * 2) remove execute permission from 2nd parent and test opendir()
39 // remove the write and execute permission from sub parent
46 // remove the execute permission from parent dir, allowing all permission for sub dir
47 chmod($sub_dir_path, 0777); // all permission to sub dir
H A Ddir_variation3.phpt32 /*5*/ 0400, // owner has read only, group and others have no permission
33 0600, // owner has rw only, group and others have no permission
35 /*7*/ 0470, // owner has read only, group has rwx & others have no permission
36 0407, // owner has read only, other has rwx & group has no permission
38 /*9*/ 0670, // owner has rw only, group has rwx & others have no permission
39 /*10*/ 0607 // owner has rw only, group has no permission and others have rwx
42 // Open directory with different permission values, read and close, expected: none of them to succe…
49 @chmod ($dir_path, 0777); // change dir permission to allow all operation
55 // change the dir permission to test dir on it
/PHP-8.4/ext/posix/tests/
H A Dposix_errno_variation1.phpt2 Test function posix_errno() by calling it with with permission error
16 echo "*** Test by calling function with permission error ***\n";
23 *** Test by calling function with permission error ***
/PHP-8.4/ext/standard/tests/file/windows_acls/
H A Dcommon.inc82 permission for the USER. Just granting permission doesn't
83 remove the previously denied permission.
105 permission for the USER. Just granting permission doesn't
106 remove the previously denied permission.
115 Required to set no permission and check that is_readable()
122 permission for the USER. Just granting permission doesn't
123 remove the previously denied permission.
/PHP-8.4/ext/dba/
H A Ddba.stub.php26 …function dba_popen(string $path, string $mode, ?string $handler = null, int $permission = 0o644, i… argument
28 …function dba_open(string $path, string $mode, ?string $handler = null, int $permission = 0o644, in… argument
/PHP-8.4/
H A DLICENSE19 derived from this software without prior written permission. For
20 written permission, please contact group@php.net.
23 may "PHP" appear in their name, without prior written permission

Completed in 47 milliseconds

123