29 Input/output library [input.output]

29.11 File systems [filesystems]

29.11.8 Enumerations [fs.enum]

29.11.8.5 Enum class perm_­options [fs.enum.perm.opts]

Table 132: 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.