{"thread":{"id":"10369","subject":"Re: git on afs (fwd)","startedAt":"2007-10-18T22:48:01Z","lastAt":"2007-10-18T22:48:01Z","messageCount":1,"participants":["Brandon Casey"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"56439","messageId":"Pine.LNX.4.64.0710181746020.30020@torch.nrlssc.navy.mil","threadId":"10369","inReplyTo":null,"subject":"Re: git on afs (fwd)","fromName":"Brandon Casey","fromEmail":"casey@nrlssc.navy.mil","sentAt":"2007-10-18T22:48:01Z","receivedAt":"2007-10-18T22:48:01Z","isPatch":false,"sender":{"key":"drafnel@gmail.com","avatar":"https://avatars.githubusercontent.com/u/921167?v=4"},"body":"\n\nAdded the mailing list back in.\n\n\nOn Thu, 18 Oct 2007, Todd T. Fries wrote:\n\n> link() returns -1 errno 17 File exists on afs.\n> \n> To further muddy the waters, linking within the same dir is ok,\n> linking outside the same dir is not:\n> \n> todd@ispdesk/p6 ~/tmp�61$ mkdir dir\n> todd@ispdesk/p6 ~/tmp�62$ touch a\n> todd@ispdesk/p6 ~/tmp�63$ ln a b\n> todd@ispdesk/p6 ~/tmp�64$ ls -l a b\n> -rw-r--r--  2 4  wheel  0 Oct 18 17:09 a\n> -rw-r--r--  2 4  wheel  0 Oct 18 17:09 b\n> todd@ispdesk/p6 ~/tmp�65$ ls -li a b\n> 2068032 -rw-r--r--  2 4  wheel  0 Oct 18 17:09 a\n> 2068032 -rw-r--r--  2 4  wheel  0 Oct 18 17:09 b\n> todd@ispdesk/p6 ~/tmp�66$ ln a dir/b\n> ln: dir/b: File exists\n> todd@ispdesk/p6 ~/tmp�67$ echo $?\n\nThat error is just bogus on afs. If it returned a sane\nerror, things would just work.\n\nBut, looks like afs only supports linking within the same\ndirectory: http://www.angelfire.com/hi/plutonic/afs-faq.html\n\nSo, you could look into whether the temp file can be sanely\ncreated in the same directory as the final filename.\n\n-brandon"}]}