Skip to content

/AWS1/CL_STGNFSFILESHAREDEFS

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_FILEMODE TYPE /AWS1/STGPERMISSIONMODE /AWS1/STGPERMISSIONMODE

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.

IV_DIRECTORYMODE TYPE /AWS1/STGPERMISSIONMODE /AWS1/STGPERMISSIONMODE

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.

IV_GROUPID TYPE /AWS1/STGPERMISSIONID /AWS1/STGPERMISSIONID

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

IV_OWNERID TYPE /AWS1/STGPERMISSIONID /AWS1/STGPERMISSIONID

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


Queryable Attributes

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.

Accessible with the following methods

Method Description
GET_FILEMODE() Getter for FILEMODE, with configurable default
ASK_FILEMODE() Getter for FILEMODE w/ exceptions if field has no value
HAS_FILEMODE() Determine if FILEMODE has a value

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.

Accessible with the following methods

Method Description
GET_DIRECTORYMODE() Getter for DIRECTORYMODE, with configurable default
ASK_DIRECTORYMODE() Getter for DIRECTORYMODE w/ exceptions if field has no value
HAS_DIRECTORYMODE() Determine if DIRECTORYMODE has a value

GroupId

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

Accessible with the following methods

Method Description
GET_GROUPID() Getter for GROUPID, with configurable default
ASK_GROUPID() Getter for GROUPID w/ exceptions if field has no value
HAS_GROUPID() Determine if GROUPID has a value

OwnerId

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

Accessible with the following methods

Method Description
GET_OWNERID() Getter for OWNERID, with configurable default
ASK_OWNERID() Getter for OWNERID w/ exceptions if field has no value
HAS_OWNERID() Determine if OWNERID has a value