Are there any Phobos functions to check file permissions on Windows and Posix?
Jay Norwood via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 8 08:47:35 PDT 2015
On Monday, 7 September 2015 at 15:48:56 UTC, BBasile wrote:
> On Sunday, 6 September 2015 at 23:05:29 UTC, Jonathan M Davis
> For example you can retieve the flags:
> archive/readonly/hidden/system/indexable(?) and even if it
> looks writable or readable, the file won't be open at all
> because the ACL for the file don't include the current user
> account.
This guy enhanced the cross-platform fox toolkit capabilities.
It would be worth looking at it if you intend to write something
similar.
See the section 7. Superior provision of host OS facilities
portably
http://tnfox.sourceforge.net/TnFOX/html/main.html
More information about the Digitalmars-d-learn
mailing list