Package com.atlassian.bitbucket.util
Class SetFilePermissionRequest
java.lang.Object
com.atlassian.bitbucket.util.SetFilePermissionRequest
Request to set permissions on a
Path
.- Since:
- 4.10
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves thepermissions
granted to members of the owning group.Retrieves thepermissions
granted to the file owner.getPath()
-
Method Details
-
getGroupPermissions
Retrieves thepermissions
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.
- Returns:
- the group file permissions to set.
-
getOwnerPermissions
Retrieves thepermissions
granted to the file owner.Note: For convenience owner permissions on Windows are also applied to the
Administrator
group.- Returns:
- the owner file permissions to set.
-
getPath
- Returns:
- the
Path
to set permissions for - Since:
- 5.11
-
getWorldPermissions
-