AWS Storage Gateway Service
API Reference (API Version 2013-06-30)

NFSFileShareDefaults

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.

Contents

DirectoryMode

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 4.

Pattern: ^[0-7]{4}$

Required: No

FileMode

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 4.

Pattern: ^[0-7]{4}$

Required: No

GroupId

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

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967294.

Required: No

OwnerId

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

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967294.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: