Specialized class for checking file permissions on a specified file.
This class provides methods to check if a user, group, or owner has specific access rights to a given file, such as read permissions.
Available only for UNIX-based platforms. Instantiating the class on another platform raises an EnvironmentError.
Example
>>> checker = FileAccessChecker('/path/to/file')
>>> checker.read_allowed(who='owner')
> True
>>> checker.read_allowed(who='group')
> False