create_directory should refer to perms::all instead of Posix
S_IRWXU|S_IRWXG|S_IRWXO
Section: 15.7 [filesys.ts::fs.op.create_directory] Status: TS Submitter: P.J. Plauger Opened: 2014-01-30 Last modified: 2017-07-30
Priority: Not Prioritized
View all issues with TS status.
Discussion:
Addresses: filesys.ts
create_directory should refer to perms::all instead of the Posix
S_IRWXU|S_IRWXG|S_IRWXO.
[2014-02-28 Beman provided proposed wording.]
Proposed resolution:
Effects: Establishes the postcondition by attempting to create the
directory p resolves to, as if by POSIX
mkdir() with a second argument of S_IRWXU|S_IRWXG|S_IRWXO static_cast<int>(perms::all). Creation
failure because p resolves to an existing directory shall not be
treated as an error.