Re: set path question

"Taylor, ForrestX" <[email protected]>
Newsgroups gmane.linux.redhat.release.guinness
Message-ID <[email protected]>
mike n. wrote:
> hi,
> In my RH 7.0 , created mypayh.sh in /etc/profile.d:
> 
> #!/bin/sh
> PATH=$PATH:/home/mike/office52  
> then did the #chmod 755 mypath.sh
> 
> Even in /home/mike/.bash_profile, added the same PATH.
> 
> when logged in as mike i do not see
> /home/mike/office52 as part of mike's path. I only see
> it as part of the root's path. working shell for root
> and mike is "bash". why?.
> Mike

My guess is that you don't have permission to the directory.  If you do 
an `ls -l /home/mike/office52`, to whom does it belong?  Also, try 
adding a line like this to /etc/bashrc or ~/.bash_profile:

export PATH=$PATH:/home/mike/office52

Forrest
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.