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
- Struct
- Aws::StorageGateway::Types::NFSFileShareDefaults
- Defined in:
- (unknown)
Overview
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 Network File System (NFS) 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 for file gateways.
Returned by:
Instance Attribute Summary collapse
-
#directory_mode ⇒ String
The Unix directory mode in the form \"nnnn\".
-
#file_mode ⇒ String
The Unix file mode in the form \"nnnn\".
-
#group_id ⇒ Integer
The default group ID for the file share (unless the files have another group ID specified).
-
#owner_id ⇒ Integer
The default owner ID for files in the file share (unless the files have another owner ID specified).
Instance Attribute Details
#directory_mode ⇒ String
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
.
#file_mode ⇒ String
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
.
#group_id ⇒ Integer
The default group ID for the file share (unless the files have another
group ID specified). The default value is nfsnobody
.
#owner_id ⇒ Integer
The default owner ID for files in the file share (unless the files have
another owner ID specified). The default value is nfsnobody
.