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]

RE: Wrong PATH and other env after starting bash


----Original Message----
>From: david.balazic
>Sent: 22 April 2005 12:23

> I installed cygwin yesterday. (on winXPpro-SP2)
> I start bash from the start menu enty.
> I noticed :
>   - missing /etc/passwd (fixe by reinstallin the base-passwd package
>     with setup.exe)
>   - $PATH is missing /usr/bin
>   - pwd is not set to $HOME
>   - missing /etc/profile (or other startup scripts, this is the output of
> ls -l /etc : total 21 
> drwxrwx---+ 4 stein mkgroup_l_d     0 Apr 19 16:55 defaults
> -rwxr-x---+ 1 stein mkgroup_l_d   459 Apr 22 11:55 group
> -rwxr-x---+ 1 stein mkgroup_l_d  1198 Apr 22 11:55 passwd
> drwxrwx---+ 2 stein mkgroup_l_d     0 Apr 22 11:56 postinstall
> drwxrwx---+ 2 stein mkgroup_l_d     0 Apr 22 11:10 preremove
> drwxrwx---+ 2 stein mkgroup_l_d     0 Apr 22 11:55 setup
> drwxrwx---+ 2 stein mkgroup_l_d     0 Apr 19 16:55 skel
> -rwxr-x---+ 1 stein mkgroup_l_d 13717 Apr 21 22:37 termcap

  You must have missed the message when you started the shell telling you to
run mkpasswd and mkgroup.  Until you do that, cygwin has no idea about
different user ids and therefore doesn't know about home directories and
startup scripts either.

> During install I deselected a few packages, to keep the install at
> minimum size. Packages like documentation, rarely used libs etc... Maybe
> I deselected something important.  

  Yes, you probably did.  Like base-passwd, for example.  When you select
things in setup, it automatically adds the dependent packages they require.
If you select some things, you get the depedencies auto-added, then if you
start deselecting things you can disable those dependencies and end up with
an incomplete installation.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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


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