| delorie.com/archives/browse.cgi | search |
| Message-Id: | <200801191532.m0JFViJR005679@delorie.com> |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Herb Maeder <maeder-cygml AT maeder DOT org> |
| Subject: | hard link error on Vista with recent snapshots |
| Date: | Sat, 19 Jan 2008 07:30:10 -0800 |
| 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 |
I'm seeing a error when creating hard links under Vista using the
cygwin1.dll snapshots starting at cygwin1-20070802.dll (through at
least cygwin1-20080112.dll).
To reproduce:
* stop/exit all cygwin processes
* replace bin/cygwin1.dll with one of the snapshot dlls above
* fire up bash and run the following commands:
% rm -rf foo bar
% touch foo
% ln foo bar
ln: creating hard link `bar' => `foo': Permission denied
I'm guessing that the error should be easily reproducible as I am running
on a pretty vanilla Vista + cygwin system. But if not, I can dig deeper
and provide more information.
The issue seems to be specific to Vista as the same hard link test works
fine on WinXP with these snapshot dlls.
FYI, I am using the snapshots for rsh/rlogin support under Vista (for rsh
to a device where it is not not feasible to run an ssh server). See
http://www.cygwin.com/ml/cygwin/2007-05/msg00361.html for details.
Using the cygwin1-20070717.dll snapshot (http://cygwin.com/snapshots/) is
a suitable workaround for me since both rsh and hard links appear to be
functional.
Herb.
--
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 |