public interface RecursivePermissions
FileSystemProvider
supports efficient recursive
permission changes.Modifier and Type | Method and Description |
---|---|
void |
changePermissionsRecursive(Path path,
PermissionChange change,
Set<PosixFilePermission> permissions)
Recursively changes permissions on the given path.
|
void changePermissionsRecursive(Path path, PermissionChange change, Set<PosixFilePermission> permissions) throws IOException
path
- the path to the file or directorychange
- the type of permission change to makepermissions
- the permissions to modifyIOException
- if an I/O error occurs while changing permissions