On Sun, Sep 14, 2014 at 5:51 PM, Alexander Lobodzinski <
[email protected]> wrote:

> However I'm curious how it's implemented - as on other Unices, link(2)
> fails with EPERM if "the file named by path1 is a directory".
>

Actually, link(2) is happy to do it; but the manpage is from FreeBSD, which
like most Unixlikes doesn't allow it. Also ln(1) disallows it --- but
exercising link(2) directly should work.

http://stackoverflow.com/a/1547720

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to