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 To: "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> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: dataflux.com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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