Interface Volume.DefinitionStages.WithUnixPermissions

All Known Subinterfaces:
Volume.Definition, Volume.DefinitionStages.WithCreate
Enclosing interface:
Volume.DefinitionStages

public static interface Volume.DefinitionStages.WithUnixPermissions
The stage of the Volume definition allowing to specify unixPermissions.
  • Method Details

    • withUnixPermissions

      Volume.DefinitionStages.WithCreate withUnixPermissions(String unixPermissions)
      Specifies the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users..
      Parameters:
      unixPermissions - UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.
      Returns:
      the next definition stage.