Added check for EPERM when checking errno after a failed link(2).
[mmh] / test / mhstore /
drwxr-xr-x   ..
-rwxr-xr-x 7539 test-mhstore