This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"ReBaseImage faled with last error = 6" for read-only files, too.


I apologize if this is a well-known problem.  I ran into the "last error = 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 processes 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 rebase 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 this 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 = 6", and you've killed every cygwin process you find running, before you reboot, check the permissions 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]