Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link(2) allows directory hard links, man page says otherwise



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >link(2) allows directory hard links, man page says otherwise (From: Rosyna <email@hidden>)
 >Re: link(2) allows directory hard links, man page says otherwise (From: "Mike Frysinger" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.