2.3 KiB
2.3 KiB
[fs.enum.perm.opts]
31 Input/output library [input.output]
31.12 File systems [filesystems]
31.12.8 Enumerations [fs.enum]
31.12.8.5 Enum class perm_options [fs.enum.perm.opts]
The enum class type perm_options is a bitmask type ([bitmask.types]) that specifies bitmask constants used to control the semantics of permissions operations, with the meanings listed in Table 152.
The bitmask constants are bitmask elements.
In Table 152 perm denotes a value of type perms passed to permissions.
Table 152 — Enum class perm_options [tab:fs.enum.perm.opts]
| ð Name |
Meaning |
|---|---|
| ð replace |
permissions shall replace the file's permission bits with perm |
| ð add |
permissions shall replace the file's permission bits with the bitwise or of perm and the file's current permission bits. |
| ð remove |
permissions shall replace the file's permission bits with the bitwise and of the complement of perm and the file's current permission bits. |
| ð nofollow |
permissions shall change the permissions of a symbolic link itself rather than the permissions of the file the link resolves to. |