class RWX(FancyEqMixin): (source)
A class representing read/write/execute permissions for a single user category (i.e. user/owner, group, or other/world). Instantiate with three boolean values: readable? writable? executable?.
Present Since | 11.1 |
Instance Variable | read |
Whether permission to read is given |
Instance Variable | write |
Whether permission to write is given |
Instance Variable | execute |
Whether permission to execute is given |
Class Variable | compareAttributes |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | shorthand |
Returns a short string representing the permission bits. Looks like part of what is printed by command line utilities such as 'ls -l' (e.g. 'rwx') |
Inherited from FancyEqMixin
:
Method | __eq__ |
Undocumented |
Method | __ne__ |
Undocumented |