delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/01/08/21:32:45

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cwilson AT ece DOT gatech DOT edu> (by way of "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>)
Subject: Re: Nice work, cygwin-1.3.18
Mime-Version: 1.0

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. <g>  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





- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019