std::experimental::filesystem::file_status::permissions - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::file_status::permissions

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | file status

perms permissions() const; | (1) | (filesystem TS)
void permissions( perms perm ); | (2) | (filesystem TS)

Accesses the file permissions information.

1) Returns file permissions information.
2) Sets file type to `perm`.

### [edit] Parameters

perm | - | file permissions to set to

### [edit] Return value

1) File permissions information.
2) (none)

### [edit] Exceptions

`noexcept` specification:
noexcept
Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/file_status/permissions&oldid=68541"
Category:

- unconditionally noexcept