(This is intended as a specific query regarding the newer standards like C++17)
the filesystem headers now provide a way to get the permissions on a path, formatted in the standard 3 perms way (owner, group, other).
How would one determine which of these is the relevant permission? (is the executing program the owner, a member of a group with access permissions, or a member of neither and thus "other")
I'm looking for a native cross platform way of doing it, if this isn't yet possible, let me know that. The intent is to avoid farming this duty out manually to explicit unix commands or windows library functions in my own code if I can avoid doing so.