Skip to content

TTarPermission

File permissions.

Declaration

Source position: libtar.pp line 130

type
  TTarPermission = (tpReadByOwner,tpWriteByOwner,tpExecuteByOwner,
                  tpReadByGroup,tpWriteByGroup,tpExecuteByGroup,
                  tpReadByOther,tpWriteByOther,tpExecuteByOther)

Values

Value Description
tpReadByOwner Owner can read the file.
tpWriteByOwner Owner can write the file.
tpExecuteByOwner Owner can execute the file.
tpReadByGroup Group can read the file.
tpWriteByGroup Group can write the file.
tpExecuteByGroup Group can execute the file.
tpReadByOther Other people can read the file.
tpWriteByOther Other people can write the file.
tpExecuteByOther Other people can execute the file.

Description

TTarPermission denotes part of a files permission as it stored in the .tar archive. Each of these enumerated constants correspond with one of the permission bits from a UNIX file permission.

See also

Name Description
TTarPermissions Complete set of permissions for file.
TTarMode Tar mode.
TTarModes Full set of modes.