EasyManua.ls Logo

AWS Storage Gateway - Editing Metadata Defaults for Your NFS File Share

AWS Storage Gateway
438 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AWS Storage Gateway User Guide
Editing Metadata Defaults for Your NFS File Share
The default value for squash level is Root squash.
For Export as, choose an option for your file share, and then choose Save. The default value is
Read-write.
Note
For file shares mounted on a Microsoft Windows client, if you select Read-only for Export
as, you might see an error message about an unexpected error keeping you from creating
the folder. This error message is a known issue with NFS version 3. You can ignore the
message.
Editing Metadata Defaults for Your NFS File Share
If you don't set metadata values for your files or directories in your bucket, your file gateway sets default
metadata values. These values include Unix permissions for files and folders. You can edit the metadata
defaults on the AWS Storage Gateway Management Console.
When your file gateway stores files and folders in Amazon S3, the Unix file permissions are stored in
object metadata. When your file gateway discovers objects that weren't stored by the file gateway,
these objects are assigned default Unix file permissions. You can find the default Unix permissions in the
following table.
Metadata Description
Directory permissions The Unix directory mode in the form "nnnn". For
example, "0666" represents the access mode for
all directories inside the file share. The default
value is 0777.
File permissions The Unix file mode in the form "nnnn". For
example, "0666" represents the file mode inside
the file share. The default value is 0666.
User ID The default owner ID for files in the file share.
The default value is 65534.
Group ID The default group ID for the file share. The
default value is 65534.
To edit metadata defaults
1. Open the AWS Storage Gateway console at https://console.amazonaws.cn/storagegateway/home.
2. Choose File shares, and then choose the file share that you want to update.
3. For Actions, choose Edit file metadata defaults.
4. In the Edit file metadata defaults dialog box, provide the metadata information and choose Save.
API Version 2013-06-30
149

Table of Contents