for checking file attributes read/write/execute, I currently use
In some cases, these functions do NOT return expected results on Windows:
1) canWrite() is TRUE for files on a CD/DVD drive
2) canWrite() is TRUE for files that i cannot access due to missing privileges
3) canWrite() is FALSE for files that do not exist
Is a better API/library available to solve all this, or will I have to implement native OS-specific code for this issue?
I already tried the Apache VFS library, which does not return expected results either.