enum File::Permissions
¶
Represents a set of access permissions for a file. Not all permission sets will be supported on all platforms.
The binary representation of this enum is defined to be same representation
as the permission bits of a unix st_mode field. File::Permissions
can also be compared to its underlying bitset, for example
File::Permissions::All == 0o777 will always be true.
On windows, only the OwnerWrite bit is effective. All file permissions
will either be 0o444 for read-only files or 0o666 for read-write files.
Directories are always mode 0o555 for read-only or 0o777.