• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: link(2) allows directory hard links, man page says otherwise
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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>)

  • Prev by Date: Re: link(2) allows directory hard links, man page says otherwise
  • Next by Date: Re: link(2) allows directory hard links, man page says otherwise
  • Previous by thread: Re: link(2) allows directory hard links, man page says otherwise
  • Next by thread: Re: link(2) allows directory hard links, man page says otherwise
  • Index(es):
    • Date
    • Thread