> -----Original Message----- > From: Geoff Clare [mailto:g...@opengroup.org] > Sent: Monday, November 07, 2016 5:20 PM > To: austin-group-l@opengroup.org > Subject: Re: [1003.1(2013)/Issue7+TC1 0001016]: race condition with set > -C > > That seems to be in contradiction with it calling the link() system > > call. > > > > I suspect that text is there for attempts to call "link" on a > > directory. > > If that were the case, I would have expected it to be worded like > Joerg's man page quote. Instead it just says "A user may need > appropriate privileges to invoke the link utility."
When do you call link(1) in lieu of ln(1)? BTW: the rationale for ln says: This volume of POSIX.1-2008 does not allow the ln utility to unlink existing destination paths by default for the following reasons: The ln utility has historically been used to provide locking for shell applications, a usage that is incompatible with ln unlinking the destination path by default. There was no corresponding technical advantage to adding this functionality.