log why the permission is denied
log why the permission is denied
Posted Jan 20, 2013 9:58 UTC (Sun) by epa (subscriber, #39769)In reply to: log why the permission is denied by dlang
Parent article: Making EPERM friendlier
The idea that grepping through log files to diagnose a cryptic one-byte error is 'easy' is rationalizing the flaws in the current system to such an extent as to leave reality far behind.
Many of the original UNIX designers clearly did not share the extreme conservatism of some of their followers. Plan 9 introduced errstr, an error string set by system calls and maintained in parallel with the old errno. That seems like a simple and elegant solution which Linux could also adopt.