1.5.18: Re: .bash_profile not being invoked

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Dec 20 22:42:00 GMT 2005

Farhad Tahmasebi wrote:
> Larry:
> Many thanks for your time. When I tried cygcheck -s -v -r > 
> cygcheck.out, I got the following error message:
> cygcheck: dump_sysinfo: GetVolumeInformation() failed: 53

That's it?  Nothing went to 'cygcheck.out'?    If you do a
'net helpmsg 53' at the command line you'll see what this
message refers to.  Assuming you have some inaccessible
network device, it's not a problem.  But it shouldn't stop
you from getting the rest of the information from 'cygcheck'.

> I am running cygwin 1.5.18-1 under Windows XP Professional (Intel 
> Pentium M).
> $ uname -a
> CYGWIN_NT-5.1 msc3069779w 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 
> unknown unknown Cygwin
> My HOME is set up correctly:
> farhad@msc3069779w ~
> $ echo $HOME
> /farhad

What does '/etc/passwd' say?

> My mount info is also correct:
> farhad@msc3069779w ~
> $ mount
> C:\cygwin\bin on /usr/bin type system (binmode)
> C:\cygwin\lib on /usr/lib type system (binmode)
> C:\cygwin on / type system (binmode)
> C:\farhad on /farhad type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)

Yeah, that looks fine.

> I am running cygwin 1.5.17 under Windows XP Professional (Intel Pentium 
> M) on a very similar machine without any problems.

OK.  How do you determine that ~/.bash_profile isn't being run?  Is it
run when you type 'bash -l' on the command line?  If so, you need to check
how you're starting bash to begin with.  If not, you need to determine what
bash thinks is your home and whether you have proper permissions.

Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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/

More information about the Cygwin mailing list