This is the mail archive of the
mailing list for the Cygwin project.
Re: winln for native symlinks
- From: Thomas Wolff <towo at towo dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 04 Apr 2013 17:48:41 +0200
- Subject: Re: winln for native symlinks
- References: <515BD718 dot 8080605 at dancol dot org> <515BE1BF dot 5010803 at towo dot net> <515BE36F dot 6030701 at dancol dot org>
Am 03.04.2013 10:08, schrieb Daniel Colascione:
On 4/3/2013 1:01 AM, Thomas Wolff wrote:
Am 03.04.2013 09:15, schrieb Daniel Colascione:
In light of the recent discussion on the developers list about native symlinks,
I'd like to suggest including my winln program (which I posted a while ago on
this list, and which I've attached to this message) in the cygutils package.
It's a drop-in replacement for GNU ld.
I'm getting this:
winln.c: In function ‘do_link’:
winln.c:343:21: error: ‘SYMBOLIC_LINK_FLAG_DIRECTORY’ undeclared (first use in
Thanks. It'd been a while since I've compiled the program. Our old headers must
have had a bug that led to defining that flag even for OS versions that didn't
actually support symbolic links. Changing _WIN32_WINNT to 0x600 (Vista) made the
program compile again.
It shows this error message:
winln: you don't permission to create symbolic links. Run, as administrator,
winln: editrights -a SeCreateSymbolicLinkPrivilege -a $YOUR_USER
which should be fixed somehow like this:
You don't have permission to create symbolic links. Run, as administrator,
editrights -a SeCreateSymbolicLinkPrivilege -u $USER
Moreover, this advice does not help. Even after having issued this
command as administrator, winln -s still works as administrator only.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple