You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::StorageGateway::Types::NFSFileShareDefaults

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing NFSFileShareDefaults as input to an Aws::Client method, you can use a vanilla Hash:

{
  file_mode: "PermissionMode",
  directory_mode: "PermissionMode",
  group_id: 1,
  owner_id: 1,
}

Describes file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported in the file gateway type.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#directory_modeString

The Unix directory mode in the form \"nnnn\". For example, \"0666\" represents the default access mode for all directories inside the file share. The default value is 0777.

Returns:

  • (String)

    The Unix directory mode in the form \"nnnn\".

#file_modeString

The Unix file mode in the form \"nnnn\". For example, \"0666\" represents the default file mode inside the file share. The default value is 0666.

Returns:

  • (String)

    The Unix file mode in the form \"nnnn\".

#group_idInteger

The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.

Returns:

  • (Integer)

    The default group ID for the file share (unless the files have another group ID specified).

#owner_idInteger

The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

Returns:

  • (Integer)

    The default owner ID for files in the file share (unless the files have another owner ID specified).