RE: [ILUG] bashrc not executing when telnetting

From: Alan Sobey (ags at domain tinet.ie)
Date: Thu 23 Sep 1999 - 01:24:56 IST


Apologies for this, I had started to write this, got distracted and saved it
to finish later. Next thing I see there's a blank e-mail from sent out to
the list. It did it itself, I swear :)

Anyway, what I was going to ask is can anyone think why ~/.bashrc (which
simply calls /etc/bashrc) would fail to execute _only_ when telneting in?
It works fine if I log in locally and runs fine with . ~/.bashrc but not
~/.bashrc as below:

[alan at domain carmen alan]$ ~/.bashrc
bash: /home/users/alan/.bashrc: Permission denied
[alan at domain carmen alan]$ . ~/.bashrc
[alan at domain carmen alan]$
<works fine and processes /etc/bashrc>

Permissions are
-rw-r--r-- 1 alan users 140 Sep 22 16:17 .bashrc

Anyone have ideas?
TIA,
Alan.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:35 GMT