Open jochil opened 2 years ago
fixes #350: Use os.ErrPermission instead of syscall.EPERM to make sure that the error is consistent over different operating systems and can be checked with os.isPermission(err)
os.ErrPermission
syscall.EPERM
os.isPermission(err)
All committers have signed the CLA.
fixes #350: Use
os.ErrPermission
instead ofsyscall.EPERM
to make sure that the error is consistent over different operating systems and can be checked withos.isPermission(err)