class FixedPermissionsProvider implements FilePermissionsProvider {

  @Override
  public FilePermissions get(Path local, AbsoluteUnixPath inContainer) {
    return Files.isDirectory(local) ? directoryPermissions : filePermissions;
  }

    FixedPermissionsProvider(FilePermissions filesPermission, FilePermissions directoriesPermission);

}