The following table lists the values that are defined for UNIX:
|
Key |
Value |
Meaning |
|---|---|---|
|
S_IXOTH |
1 |
Execute by others |
|
S_IWOTH |
2 |
Write by others |
|
S_IROTH |
4 |
Read by others |
|
S_IXGRP |
8 |
Execute by group |
|
S_IWGRP |
16 |
Write by group |
|
S_IRGRP |
32 |
Read by group |
|
S_IXUSR |
64 |
Execute by owner |
|
S_IWUSR |
128 |
Write by owner |
|
S_IRUSR |
256 |
Read by owner |
|
S_ISVTX |
512 |
Sticky bit |
|
S_ISGID |
1024 |
Set group ID on execution |
|
S_ISUID |
2048 |
Set user ID on execution |
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|