Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: .bash_profile and .bashrc not executing

From: John Salmon <salmonjj(at)comcast.net>
Date: Sun Jan 13 2008 - 10:04:10 EST


Martin Marcher <martin@marcher.name> wrote in news:9KVsV-3hn-11@gated-at.bofh.it:

> On Saturday 12 January 2008 20:50 John Salmon wrote:
> 

>> I'm a new user to Debian Linux. I have the latest version loaded on a
>> dedicated PC with all the default settings. I have added a ~/bin
>> directory to my system. My .bash_profile and .bashrc files were the
>> default files loaded during the install. However, my PATH remains
>> unchanged when I log on even though the .bash_profile file has the
>> lines to add my ~/bin directory. I can make the change manually after
>> I've logged on and can execute files that are in that directory.
>> Also, the aliases set in my .bashrc file don't work. As a check, I've
>> set environment variables in both files and they return null with
>> echo after logging on. I haven't tried re-installing the system from
>> scratch.
>>
>> Any suggestions?
> 
> you did re-login after the changes did you? (i think "bash -l" also
> behaves like a full re-llogin)
> 
> hth
> martin
> 

Yes, I did. In fact, I also tried re-booting the system.

Another thing, I tried to run ~/.bash_profile and got "\bash: /home/johns/.bash_profile: Permission denied" (johns is me). ls -al shows .bash_prfile access has no execute permission set.

-- 
John Salmon
salmonjj@comcast.net
       ---- Posted via Pronews.com - Premium Corporate Usenet News Provider ----
http://www.pronews.com offers corporate packages that have access to 100,000+ newsgroups


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Jan 13 10:36:32 2008

This archive was generated by hypermail 2.1.8 : Mon Mar 03 2008 - 17:06:12 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library