std::experimental::filesystem::perms

From cppreference.com
< cpp‎ | experimental‎ | fs
Defined in header <experimental/filesystem>
enum class perms {

    none = 0,
    owner_read = 0400,
    owner_write = 0200,
    owner_exec = 0100,
    owner_all = 0700,
    group_read = 040,
    group_write = 020,
    group_exec = 010,
    group_all = 070,
    others_read = 04,
    others_write = 02,
    others_exec = 01,
    others_all = 07,
    all = 0777,
    set_uid = 04000,
    set_gid = 02000,
    sticky_bit = 01000,
    mask = 07777,
    unknown = 0xffff,
    add_perms = 0x10000,
    remove_perms = 0x20000,
    resolve_symlinks = 0x40000

};
(filesystem TS)

[edit] Constants

Constant Meaning
owner_read
owner_write
owner_exec
owner_all
group_read
group_write
group_exec
group_all
others_read
others_write
others_exec
others_all
all
set_uid
set_gid
sticky_bit meaning operating-system dependent
mask all | set_uid | set_gid | sticky_bit
unknown

[edit] See also