Mail Archives: cygwin-developers/2003/01/08/21:32:45
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 -