Rustaceans...Seems a function to say whether you can read or file or write a file would some good functions. Even with unix:fs:PermissionsExt I need to do a little bit of bit math to just figure out if I can read a file or not. #amIlazy
Correct me if I'm wrong, but if you can get the mode of a file, you have permission to read it don't you?
-
-
Anyway yeah, `mode` is what you're looking for
-
yeah I was just hoping for convenience of isReadable() or something vs mode & (libc:: S_IRUSR | ... ) or whatnot. Mild problem I know :)
- 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.