droyo / styx

Go library for the 9P filesystem protocol
MIT License
64 stars 18 forks source link

defaultResponse() ends with a period, which is sub-optimal #28

Closed mrnerdhair closed 3 years ago

mrnerdhair commented 3 years ago

https://github.com/droyo/styx/blob/91faf1aa2e2dfefdc08208ea3893808368899b8d/request.go#L71

On Linux, v9fs's p9_errstr2errno() converts returned error strings from 9P to POSIX-style errno.h codes; while permission denied maps to EACCES as would be expected, permission denied. is not on the magical list, and causes things to output stuff like Unknown error 526.