Re: link(2) allows directory hard links, man page says otherwise
Re: link(2) allows directory hard links, man page says otherwise
- Subject: Re: link(2) allows directory hard links, man page says otherwise
- From: Rosyna <email@hidden>
- Date: Wed, 12 Dec 2007 17:30:53 -0700
I quoted it from Apple's man page x-man-page://2/link/ or http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/link.2.html
Which seems to imply Apple's man page is out of date,
On Dec 12, 2007, at 4:35 PM, Mike Frysinger wrote:
the POSIX standard you reference is outdated. please refer to:
http://www.opengroup.org/onlinepubs/009695399/functions/link.html
where it quotes:
If path1 names a directory, link() shall fail unless the process has
appropriate privileges and the implementation supports using link() on
directories.
and under errors it states:
[EPERM]
The file named by path1 is a directory and either the calling
process does not have appropriate privileges or the implementation
prohibits using link() on directories.
---
Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden