How to test std::fs::File has write permission

emm.. then it will need to handle different kind of system error to check if it was caused by "no permission" if just writing file without first check. :rofl: