https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71322
Bug ID: 71322 Summary: std::filesystem::permissions always follows symlinks Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- Created attachment 38586 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38586&action=edit repr Currently "permissions(sym, perms::none)" resolves the symlink and sets the permissions on the file. I believe this is incorrect.