Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

File Permissions flags
[File Information]

Collaboration diagram for File Permissions flags:


Defines

#define APR_USETID   0x8000
#define APR_UREAD   0x0400
#define APR_UWRITE   0x0200
#define APR_UEXECUTE   0x0100
#define APR_GSETID   0x4000
#define APR_GREAD   0x0040
#define APR_GWRITE   0x0020
#define APR_GEXECUTE   0x0010
#define APR_WSTICKY   0x2000
#define APR_WREAD   0x0004
#define APR_WWRITE   0x0002
#define APR_WEXECUTE   0x0001
#define APR_OS_DEFAULT   0x0FFF
#define APR_FILE_SOURCE_PERMS   0x1000

Define Documentation

#define APR_FILE_SOURCE_PERMS   0x1000
 

Copy source file's permissions

Definition at line 97 of file apr_file_info.h.

Referenced by apr_file_transfer_contents(), and main().

#define APR_GEXECUTE   0x0010
 

Execute by group

Definition at line 87 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), apr_unix_perms2mode(), includes_filter(), and includes_setup().

#define APR_GREAD   0x0040
 

Read by group

Definition at line 85 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), apr_unix_perms2mode(), open_rewritelog(), test_file_remove(), test_fileclose(), test_filename(), test_open_excl(), test_open_noreadwrite(), test_open_read(), test_open_readwrite(), test_open_write(), test_open_writecreate(), test_read(), test_seek(), test_userdata_get(), test_userdata_getnokey(), test_userdata_set(), and test_write().

#define APR_GSETID   0x4000
 

Set group id

Definition at line 84 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), and apr_unix_perms2mode().

#define APR_GWRITE   0x0020
 

Write by group

Definition at line 86 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), and apr_unix_perms2mode().

#define APR_OS_DEFAULT   0x0FFF
 

use OS's default permissions

Definition at line 94 of file apr_file_info.h.

Referenced by accessible(), add_cern_meta_data(), AP_DECLARE(), apprentice(), APR_DECLARE(), apr_file_transfer_contents(), asis_handler(), cache_the_file(), create_dummy_file(), create_dummy_file_error(), dav_dbm_open_direct(), dav_fs_copymove_file(), dav_fs_copymove_state(), dav_fs_copymove_walker(), dav_fs_create_collection(), dav_fs_ensure_state_dir(), dav_fs_load_locknull_list(), dav_fs_open_stream(), dav_fs_save_locknull_list(), do_read(), do_write(), doit(), emit_head(), emit_tail(), find_title(), get_dbm_pw(), htdbm_open(), log_script(), log_scripterror(), lookup_map_dbmfile(), lookup_map_txtfile(), magic_process(), main(), MDFile(), open_error_log(), open_log(), open_postfile(), read_type_map(), resolve_ident(), ssl_expr_eval_func_file(), ssl_rand_seed(), store_body(), store_headers(), test_buffered_write_size(), test_dup2(), test_dup2_readwrite(), test_file_dup(), test_file_readwrite(), test_file_redir(), test_info_get(), test_mtime_set(), test_stat_eq_finfo(), and test_uncleared_errno().

#define APR_UEXECUTE   0x0100
 

Execute by user

Definition at line 82 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), apr_unix_perms2mode(), dav_fs_insert_prop(), dav_fs_patch_exec(), dav_fs_patch_rollback(), include_fixup(), mkdir_structure(), ServerSupportFunction(), test_mkdir(), test_mkdir_recurs(), and test_mkdir_twice().

#define APR_UREAD   0x0400
 

Read by user

Definition at line 80 of file apr_file_info.h.

Referenced by APR_DECLARE(), apr_unix_mode2perms(), apr_unix_perms2mode(), gettemp(), mkdir_structure(), open_rewritelog(), ServerSupportFunction(), test_bigread(), test_file_remove(), test_fileclose(), test_filename(), test_mkdir(), test_mkdir_recurs(), test_mkdir_twice(), test_mod_neg(), test_open_excl(), test_open_noreadwrite(), test_open_read(), test_open_readwrite(), test_open_write(), test_open_writecreate(), test_read(), test_seek(), test_truncate(), test_userdata_get(), test_userdata_getnokey(), test_userdata_set(), and test_write().

#define APR_USETID   0x8000
 

Set user id

Definition at line 79 of file apr_file_info.h.

Referenced by AP_DECLARE(), apr_unix_mode2perms(), and apr_unix_perms2mode().

#define APR_UWRITE   0x0200
 

Write by user

Definition at line 81 of file apr_file_info.h.

Referenced by APR_DECLARE(), apr_unix_mode2perms(), apr_unix_perms2mode(), gettemp(), mkdir_structure(), open_rewritelog(), ServerSupportFunction(), test_bigread(), test_file_remove(), test_fileclose(), test_filename(), test_mkdir(), test_mkdir_recurs(), test_mkdir_twice(), test_mod_neg(), test_open_excl(), test_open_noreadwrite(), test_open_read(), test_open_readwrite(), test_open_write(), test_open_writecreate(), test_read(), test_seek(), test_truncate(), test_userdata_get(), test_userdata_getnokey(), test_userdata_set(), and test_write().

#define APR_WEXECUTE   0x0001
 

Execute by others

Definition at line 92 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), apr_unix_perms2mode(), convert_prot(), and guess_protection_bits().

#define APR_WREAD   0x0004
 

Read by others

Definition at line 90 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), apr_unix_perms2mode(), convert_prot(), guess_protection_bits(), and open_rewritelog().

#define APR_WSTICKY   0x2000
 

Sticky bit

Definition at line 89 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), and apr_unix_perms2mode().

#define APR_WWRITE   0x0002
 

Write by others

Definition at line 91 of file apr_file_info.h.

Referenced by apr_unix_mode2perms(), apr_unix_perms2mode(), convert_prot(), and guess_protection_bits().