setPosixFilePermissions
@ExperimentalPathApi fun Path.setPosixFilePermissions(
value: Set<PosixFilePermission>
): Path
Sets the POSIX file permissions for the file located by this path.
Exceptions
UnsupportedOperationException
- if the associated file system does not support the PosixFileAttributeView.
See Also