/php-src/ext/standard/tests/file/windows_acls/ |
H A D | bug44859.phpt | 24 foreach ($iteration as $perms => $exp) { 25 create_file($path, $perms); 40 foreach ($iteration as $perms => $exp) { 41 create_dir($path, $perms);
|
H A D | bug44859_2.phpt | 24 foreach ($iteration as $perms => $exp) { 25 create_file($path, $perms); 40 foreach ($iteration as $perms => $exp) { 41 create_dir($path, $perms);
|
H A D | bug44859_4.phpt | 26 foreach ($iteration as $perms => $exp) { 27 create_file($path, $perms); 42 foreach ($iteration as $perms => $exp) { 43 create_dir($path, $perms);
|
H A D | common.inc | 136 function create_dir($name, $perms) { 144 icacls_set($name, PHPT_ACL_GRANT, $perms); 147 function create_file($name, $perms) { 154 icacls_set($name, PHPT_ACL_GRANT, $perms);
|
/php-src/ext/phar/ |
H A D | zip.c | 873 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local 898 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int() 902 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply_int() 903 perms.tag[0] = 'n'; in phar_zip_changed_apply_int() 904 perms.tag[1] = 'u'; in phar_zip_changed_apply_int() 905 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int() 906 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int() 909 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int() 910 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int() 1099 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int() [all …]
|
H A D | pharzip.h | 142 char perms[2]; /* Mode Short file permissions */ member
|
H A D | phar_object.stub.php | 548 public function chmod(int $perms): void {} argument
|
H A D | phar_object.c | 4636 zend_long perms; in PHP_METHOD() local 4638 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &perms) == FAILURE) { in PHP_METHOD() 4667 perms &= 0777; in PHP_METHOD() 4668 entry_obj->entry->flags |= perms; in PHP_METHOD()
|
H A D | phar_object_arginfo.h | 364 ZEND_ARG_TYPE_INFO(0, perms, IS_LONG, 0)
|
/php-src/ext/sysvmsg/ |
H A D | sysvmsg.c | 218 zend_long perms = 0666; in PHP_FUNCTION() local 221 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &key, &perms) == FAILURE) { in PHP_FUNCTION() 232 mq->id = msgget(key, IPC_CREAT | IPC_EXCL | perms); in PHP_FUNCTION()
|
/php-src/ext/standard/tests/file/ |
H A D | copy_variation15.phpt | 2 Test copy() function: usage variations - destination dir access perms
|
H A D | copy_variation9.phpt | 2 Test copy() function: usage variations - destination file access perms
|
H A D | symlink_link_linkinfo_is_link_variation6.phpt | 2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & dir perms.
|
H A D | is_executable_variation2.phpt | 2 Test is_executable() function: usage variations - file/dir with diff. perms
|
H A D | is_readable_variation2.phpt | 2 Test is_readable() function: usage variations - file/dir with diff. perms
|
H A D | is_writable_variation2.phpt | 2 …t is_writable() and its alias is_writeable() function: usage variations - file/dir with diff. perms
|
H A D | 006_variation2.phpt | 2 Test fileperms() & chmod() functions: usage variation - misc. perms
|
H A D | file.inc | 151 Function: int change_file_perms(string $file_path, int $count = 1, int $perms = 0755, 157 $perms = new permission of the file, similar to $mode args of chmod() call 167 $perms = 0755, 182 if( chmod($filename, $perms) )
|
H A D | umask_variation1.phpt | 2 Test umask() function: usage variations - perms from 0000 to 0350
|
H A D | umask_variation2.phpt | 2 Test umask() function: usage variations - perms from 0351 to 0777
|
H A D | 006_variation1.phpt | 2 Test fileperms() & chmod() functions: usage variation - perms(0000-0777)
|
H A D | mkdir_rmdir_variation1.phpt | 2 Test mkdir() and rmdir() functions: usage variations - perms(0000-0777)
|
/php-src/ext/mysqli/tests/ |
H A D | local_infile_tools.inc | 82 …printf("[%03d + 4] Cannot change the file perms of '%s' from 0600 to 0644, MySQL might not be able…
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 1639 - * Fstat is cheaper but fails for files you don't have read perms on.
|