NFSFileShareDefaults - Storage Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 S3 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 Amazon SDKs, see the following: