[PATCH] sys::fs::can_read() and sys::fs::can_write() for Unix

Hi - the attached patch provides implementations and tests for sys::fs::can_read() and sys::fs::can_write() for Unix. These were adapted from the previous implementations in lib/Support/Unix/Path.inc. can_execute() could be implemented quite similarly, but I wasn’t sure where the best place to add a test for it would be, so left it out for now.

Thanks,
Liam

pathsupport.diff (1.65 KB)