public static void removePermissionRecursive(Path path,PosixFilePermission permission) throws IOException {
  changePermissionsRecursive(path,PermissionChange.REMOVE,Collections.singleton(permission));
}

public static void removePermissionRecursive ( Path path , PosixFilePermission permission ) throws IOException { changePermissionsRecursive ( path , PermissionChange . REMOVE , Collections . singleton ( permission ) ) ; }
recursively removes a permission from a directory .
