ListEntry Object : Permissions Property |
Visual Basic |
---|
Public Property Permissions As Long |
Only valid when the Format property is formatUNIX. This property will return a value from 0 to 777. Refer to the following table to interpret this property:
Value | Meaning |
1 | execute/search by others |
2 | write by others |
4 | read by others |
10 | execute/search by group |
20 | write by group |
40 | read by group |
100 | execute/search by owner |
200 | write by owner |
400 | read by owner |
The values are combined to construct the permissions for the file. For example, if the file has read, write, and execute only for the owner, the permissions would be 700. Read and write permissions for groups only would be 60. All access to the file by everyone would be 777.