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