GuestPosixFileAttributes

GuestPosixFileAttributes
GuestPosixFileAttributes

Different attributes for Posix guest file.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "modificationTime": "string",
    "accessTime": "string",
    "symlinkTarget": "string",
    "ownerId": 0,
    "groupId": 0,
    "permissions": 0
}
integer As int32 As int32
ownerId
Optional

The owner ID.

If this property is not specified when passing a GuestPosixFileAttributes object to InitiateFileTransferToGuest, the default value will be the owner Id of the user who invoked the file transfer operation.

integer As int32 As int32
groupId
Optional

The group ID.

If this property is not specified when passing a GuestPosixFileAttributes object to InitiateFileTransferToGuest, the default value will be the group Id of the user who invoked the file transfer operation.

integer As int64 As int64
permissions
Optional

The file permissions.

When creating a file with InitiateFileTransferToGuest, these are in chmod(2) format. When reporting on existing files, these are in stat(2) format. If this property is not specified when passing a GuestPosixFileAttributes object to InitiateFileTransferToGuest, the file will be created with 0644 permissions.