On Wednesday, October 19, 2016 04:29:30 tcak via Digitalmars-d-learn wrote:
> Checked std.stdio, std.file, std.path, couldn't have found anyway
> to check permissions on a file for read, write, execute.
> Without getting into core module, does it exist anywhere in std
On POSIX, std.file.getAttributes or attributes on a std.file.DirEntry will
give you st_mode from the stat system call.
The flags that st_mode uses are declared in core.sys.posix.sys.stat, and the
rwx permissions for owner, group, and other are all there as described in
the man page.
- Jonathan M Davis