File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.
Returns the permissions of the file. The file permissions are returned as a set of PosixFilePermission elements. The returned set is a copy of the file permissions and is modifiable. This allows the result to be modified and passed to the setPermissions method to update the file's permissions.