0

i do not figure out how to properly determine if a file is readable by current process using c++ filesystem library. i would like to use c++ standard filesystem library for portability. i thought that it could be possible by bitmasking permissions obtained from file_status as an example described in https://en.cppreference.com/w/cpp/filesystem/perms but i am afraid that it is not for the current running process.

could anybody tell me the proper way? thanks in advance.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.