1.5.18: .bash_profile not being invoked

Farhad Tahmasebi Farhad.Tahmasebi@nasa.gov
Tue Dec 20 23:14:00 GMT 2005

----- Original Message ----- 
From: Larry Hall (Cygwin)
To: Farhad Tahmasebi
Cc: cygwin@cygwin.com
Sent: Tuesday, December 20, 2005 5:42 PM
Subject: Re: 1.5.18: Re: .bash_profile not being invoked

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'.

Please see the attached cygcheck.out.

> 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:
> $ echo $HOME
> /farhad

What does '/etc/passwd' say?





HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help Assistant 


and Settings/farhad:/bin/bash

> My mount info is also correct:
> $ 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.

I'm setting PATH, CDPATH, $PWD, and a few aliases. When I source (or .) 
~/.bash_profile, I get everything. Runnig "bash -l" also works (see below)
$ bash -l

Thanks again.

Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 25885 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051220/460e4624/attachment.obj>
-------------- next part --------------
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