This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using cp converts windows junctions to a cywin symlink
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Adrian H <adrianh dot bsc at gmail dot com>, cygwin at cygwin dot com
- Date: Mon, 2 Nov 2015 22:51:51 +0300
- Subject: Re: Using cp converts windows junctions to a cywin symlink
- Authentication-results: sourceware.org; auth=none
- References: <CAP_kE8XU_sr2wrfvFQ1o8NrKrWvOZwU02+2CZbtkgtDD9H9R7A at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Adrian H!
> I was copying a directory of files, some of which were windows junctions.
> These got converted to a cygwin symlink. Although I am impressed that there
> are such a thing for those OSs/drives that do not support such things, for those
> that do, I think it would be good to keep the copy a junction. Otherwise,
> things can get messy.
> Can this be corrected?
Unfortunately, even on systems, that do support symlinks functionality, it is
restricted by UAC and not easily unlocked.
You'd need an admin shell or a user profile with UAC turned off and permissions
correctly configured to exploit native symlinks.
And Cygwin does not support creation of directory junctions to the best of my
knowledge. :(
--
With best regards,
Andrey Repin
Monday, November 2, 2015 22:48:43
Sorry for my terrible english...
--
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