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