delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/10/16:29:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40
X-Spam-Check-By: sourceware.org
X-SpamScore: -5
X-BigFish: S-5(zz15bfMzz1202hzzz2fh2a8h668h)
X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:mercav15.na.sas.com;RD:mercav15.na.sas.com;EFVD:NLI
X-TM-IMSS-Message-ID: <76de4edf000c2481 AT mercav15 DOT na DOT sas DOT com>
From: Jim Schneider <jim DOT schneider AT dataflux DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 10 Dec 2010 16:29:31 -0500
Subject: "ReBaseImage faled with last error = 6" for read-only files, too.
Message-ID: <609C4401F424CD42A1FB3F9E26889B3E035F737291@df-ex03.us.dataflux.com>
MIME-Version: 1.0
X-OriginatorOrg: dataflux.com
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 apologize if this is a well-known problem.  I ran into the "last error =
=3D 6" problem trying to rebase some DLLs installed by perl's CPAN module. =
 The advice you find if you google that error message (kill all cygwin proc=
esses and services, rebooting if necessary) will _not_ work if the problem =
is a file marked as read-only.

I am working on a patch, which is complicated by the need to avoid having r=
ebase link against cygwin1.dll, and the way Windows Vista & 7 manage ACLs. =
 In the meantime, I figured having a mention of another possible cause of t=
his problem could save someone else from fruitlessly rebooting their system=
 into safe mode in a vain effort to make CPAN work.

If you run into "ReBaseImage failed with last error =3D 6", and you've kill=
ed every cygwin process you find running, before you reboot, check the perm=
issions on the DLL that's causing the error.  "ls -l" will show the current=
 permissions, and "chmod u+w" will fix `em.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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