delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/22/13:53:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 22 Oct 2002 13:55:08 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Invalid arugment and IO Error with bunzip2
Message-ID: <20021022175508.GI514@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5 DOT 1 DOT 1 DOT 6 DOT 0 DOT 20021022114029 DOT 03cdfe90 AT pop DOT nycap DOT rr DOT com> <5 DOT 1 DOT 1 DOT 6 DOT 0 DOT 20021022114029 DOT 03cdfe90 AT pop DOT nycap DOT rr DOT com> <5 DOT 1 DOT 1 DOT 6 DOT 0 DOT 20021022130646 DOT 03ccbd70 AT pop DOT nycap DOT rr DOT com>
Mime-Version: 1.0
In-Reply-To: <5.1.1.6.0.20021022130646.03ccbd70@pop.nycap.rr.com>
User-Agent: Mutt/1.5.1i

On Tue, Oct 22, 2002 at 01:15:17PM -0400, William A. Hoffman wrote:
>At 11:56 AM 10/22/2002 -0400, Christopher Faylor wrote:
>>On Tue, Oct 22, 2002 at 11:49:16AM -0400, William A. Hoffman wrote:
>>>My guess is this problem is related to the ntsec stuff as are many
>>>recent posts.  Someone correct me if I am wrong, but to get cygwin to
>>>work properly these days I had to do two things:
>>>
>>>1.  manually modify the /etc/passwd file mkpasswd -du mywindowslogin >>
>>>/etc/passwd Where mywindowslogin is the name of the account that you
>>>log into windows with.
>>>
>>>2.  set CYGWIN=nontsec
>>
>>There is no reason to do both.  If you are not going to use ntsec then
>>CYGWIN=nontsec should be equivalent to 1.3.12.
>
>That is not what I saw.   After doing 1, most cygwin things worked, however, there
>were .exe files installed on my disk that were no longer executable.   These were
>things installed outside of cygwin.

chmod a+x foo.exe

>>I'm amazed at the number of people who have incorrect /etc/passwd files.
>
>I would say that many people using cygwin, do not even know that they
>have a /etc/passwd as it is created automatically by setup.   So, if the
>setup program is not creating the correct thing, why would you be amazed if
>there are many incorrect files around?

I was working under the assumption that setup.exe created correct files
since it uses mkpasswd and mkgroup to create files /etc/passwd and
/etc/group.  So, telling people to run the same thing that setup.exe
runs as a method to fix the problem "amazes" me.  I assume this has
something to do with the -d switch to mkpasswd, which setup doesn't do.

Apparently, I understand how this works and you don't.  So,
I'm amazed and you're not.

>>I haven't seen anyone say that running setup on a new computer doesn't work.
>>It seems to be existing implementations that need tweaking.  I don't know
>>why.
>
>That is not what we have seen.   After removing the install, and re-installing, 
>I could not get it to work without the above two changes.   Anyway, an update
>should work as well.  Perhaps I did not remove all of it, but I tried....

Removing the install and reinstalling is not the same as installing on a new
computer.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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