This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ln can't hard link into named directory


Ln can't hard link into named directory.

e.g.

Ln ... TARGET... DIRECTORY (3rd form)

and

ln ... -t DIRECTORY TARGET... Â(4th form)

both fail when DIRECTORY is named (but appear to work when DIRECTORY = '.' (current directory))

returning error message

'ln: Cannot create a file when that file already exists.' when TARGET is named file

or

'ln: The filename, directory name, or volume label syntax is incorrect.' when TARGET is '*' (wildcard).


I am running cygwin 1.7.17-1 and coreutils 8.15-1, calling above commands from cmd.exe 5.2.3790.3959 on Windows Server 2003 sp2 x32.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]