File.posix_permissions
posix_permissions
Documentation
Gets the POSIX permissions associated with the file.
Examples
Check if the file is readable by the user's group.
import Standard.Examples
example_permissions = Examples.csv.posix_permissions.group_read
Remarks
Data Links
If the file is a data link, this returns the permissions of the link, not the target.