delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <478CA52E.8050609@onevision.de> |
Date: | Tue, 15 Jan 2008 13:21:02 +0100 |
From: | Roland Schwingel <roland DOT schwingel AT onevision DOT de> |
User-Agent: | Thunderbird 1.5.0.13 (Windows/20070809) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi... Well... I am a late converter I know... But I am in the progress of doing so. I am still running cygwin 1.3.22 and now setted up 1.5.25-7 but encountered a problem with cp when working on a folder (hosted on a samba share on a linux box) containing a symlink. My $CYGWIN is in both cases set to "binmode smbntsec" while it does not make any difference when I put it to "binmode ntsec". My /etc/passwd is in both cygwin installations correctly populated (AFAIK). Receipe to reproduce: 1. Login to your linux box in your homeaccount. 2. mkdir -p ~/tmp/test 3. cd ~/tmp/test 4. mkdir subdir 5. ln -s subdir symlink 6. logout 7. Start cygwin 1.3.22 8. cp -rp //server/share/path/to/your/home/tmp/test /tmp 9. <everything fine> 10. Start cygwin 1.5 installation 11. cp -rp //server/share/path/to/your/home/tmp/test /tmp 12. Error message appears: cp: will not create hard link: '/tmp/test/symlink' to directory '/tmp/test/subdir' Obviously cygwin 1.5 is now detecting the symlink correctly while 1.3 was not because it copied the symlinked folder as folder not as link (even when I did cp -a). Maybe this problem is not related to cygwin more to the cp program itself. Yet this causes a problem because in various locations I have some symlinks on my servers... Thanks in advance for your help, Roland -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |