Modifier and Type | Class and Description |
---|---|
static class |
SetFilePermissionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Set<FilePermission> |
getGroupPermissions()
Retrieves the
permissions granted to members of the owning group. |
Set<FilePermission> |
getOwnerPermissions()
Retrieves the
permissions granted to the file owner. |
Path |
getPath() |
Set<FilePermission> |
getWorldPermissions() |
@Nonnull public Set<FilePermission> getGroupPermissions()
permissions
granted to members of the owning group.
Note: Group permissions are not applied on Windows. Unlike POSIX-compliant OS's, where files and directories are associated with both a user and a group, and where the permission model explicitly provides for setting a group permission agnostic of the group's name, the ACL model used by Windows requires knowing the name of the group you want to provision.
@Nonnull public Set<FilePermission> getOwnerPermissions()
permissions
granted to the file owner.
Note: For convenience owner permissions on Windows are also applied to the Administrator
group.
@Nonnull public Set<FilePermission> getWorldPermissions()
Copyright © 2019 Atlassian. All rights reserved.