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