[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash

On Tue, Dec 17, 2002 at 10:32:19PM +0000, Colin Watson wrote:
> On Tue, Dec 17, 2002 at 07:24:52PM +0000, Pigeon wrote:
> > On Mon, Dec 16, 2002 at 05:02:42PM -0500, Narins, Josh wrote:
> > > I seem to recall that there are some conf files that aren't read if it has
> > > the wrong permissions.
> > > 
> > > Try chmod 644 .bash_profile first
> > 
> > s/6/7/
> .bash_profile does not need to be executable.

Puzzled Pigeon: Huh? It gets executed, according to the first line...

# ~/.bash_profile: executed by bash(1) for login shells.

It sure looks like a shell script, and you put shell script
commands in it. And shell scripts need to be executable
before you can execute them. 

Tries experiment: chmod a-x ~/.bash_profile and logs in from another vc.

Gordon Bennett! It's true an' all. Sorry Josh, I thought that was a

How does that one work then?


Reply to: