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]

Re: winln for native symlinks


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
this function)
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.
------
Thomas


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