VmGuestFilesystemTransfersPosixFileAttributesCreateSpec

The Transfers.PosixFileAttributesCreateSpec structure describes creation information about file attributes specific to Posix guest operating systems.


Properties

integer as int64
group_id Optional

The group ID. If this property is not specified when passing a Transfers.PosixFileAttributesCreateSpec object to Transfers.create, the default value will be the group Id of the user who invoked the file transfer operation. Defaults to gid of user invoking the operation.


integer as int64
owner_id Optional

The owner ID. If this property is not specified when passing a Transfers.PosixFileAttributesCreateSpec object to Transfers.create, the default value will be the owner Id of the user who invoked the file transfer operation. Defaults to uid of user invoking the operation.


string
permissions Optional

The file permissions in chmod(2) format. If this property is not specified when passing a Transfers.PosixFileAttributesCreateSpec object to Transfers.create, the file will be created with 0644 permissions. This field is interpreted as octal. Defaults to 0644.

JSON Example

{
	"group_id": 0,
	"owner_id": 0,
	"permissions": "string"
}

Feedback

Was this page helpful?