Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Message-Id: <3.0.5.32.20030108201919.007df200@mail.attbi.com> X-Sender: phumblet AT mail DOT attbi DOT com Date: Wed, 08 Jan 2003 20:19:19 -0500 To: cygwin-developers AT cygwin DOT com From: Charles Wilson (by way of "Pierre A. Humblet" ) Subject: Re: Nice work, cygwin-1.3.18 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Pierre A. Humblet wrote: > Charles Wilson wrote: > >>In automake-devel, there has been a long-standing test failure >>('subobj9'). It now passes, and I think it's because of Corinna and >>Pierre's work with permissions in 1.3.18. >> >>A case of virtual beer each! >> > > Thanks for the beer, Chuck. > > Unfortunately it's premature. Well, *something* eliminated the testcase failure. However, you're correct: I see no change when doing as you recommend. > As I didn't recognize any change that > would explain what you saw, I looked into it. > chown causes undesirable side effects when it fails, which affect cp -p. > I will fix them, but would like to be sure I also fix your problem. > > If I understand correctly you have a symlink ==> old > and you do "cp -p symlink new". Yes. > Could you sketch typical ls -l outputs for "old" and "new", both > before the virtual fix and after? cygwin-1.3.18: -rwxrwxrwx 1 Administ None 93184 Aug 21 2001 /usr/bin/a2p.exe lrwxrwxrwx 1 cwilson None 117 Jan 8 19:07 symlink -> /usr/bin/a2p.exe -rwxrwxrwx+ 1 cwilson None 93184 Aug 21 2001 new cygwin-1.3.17: -rwxrwxrwx 1 Administ None 93184 Aug 21 2001 /usr/bin/a2p.exe lrwxrwxrwx 1 cwilson None 117 Jan 8 19:08 symlink -> /usr/bin/a2p.exe -rwxrwxrwx+ 1 cwilson None 93184 Aug 21 2001 new No change. The error message in both cases is "cp: preserving ownership for `new': Permission denied" I'm curious as to why the automake self check now passes; I don't know what other thing has changed on my system between early December and now. I had earlier thought that the problem was somewhere in fileutils-4.1-1/src/cp.c -- see this thread (forgive the typo in the subject): "cp.ese bug report -- possible fix?" http://www.cygwin.com/ml/cygwin/2002-05/msg00510.html --Chuck