Enum perms

Enum Documentation

enum class iox::cxx::perms : uint64_t

this enum class implements the filesystem perms feature of C++17. The API is identical to the C++17 one so that the class can be removed as soon as iceoryx switches to C++17. The enum satisfies also all requirements of the BitmaskType, this means the operators |, &, ^, ~, |=, &= and ^= are implemented as free functions as C++17 requires it.

Values:

enumerator none

Deny everything.

enumerator owner_read

owner has read permission

enumerator owner_write

owner has write permission

enumerator owner_exec

owner has execution permission

enumerator owner_all

owner has all permissions

enumerator group_read

group has read permission

enumerator group_write

group has write permission

enumerator group_exec

group has execution permission

enumerator group_all

group has all permissions

enumerator others_read

others have read permission

enumerator others_write

others have write permission

enumerator others_exec

others have execution permission

enumerator others_all

others have all permissions

enumerator all

all permissions for everyone

enumerator set_uid

set uid bit

Note

introduction into setgit/setuid: https://en.wikipedia.org/wiki/Setuid

enumerator set_gid

set gid bit

Note

introduction into setgit/setuid: https://en.wikipedia.org/wiki/Setuid

enumerator sticky_bit

set sticky bit

Note

sticky bit introduction: https://en.wikipedia.org/wiki/Sticky_bit

enumerator mask

all permissions for everyone as well as uid, gid and sticky bit

enumerator unknown

unknown permissions