SUMMARY: Long path problem

From: Rasana P. Atreya (Rasana.Atreya@library.ucsf.edu)
Date: Mon Jan 22 1996 - 13:15:08 CST


My original post, followed by the single response I received. My grateful
thanks to Andrew Lamb <andrew@mis.mua.go.th>.

Rasana

---------------------------------------------------------------------------
Hi!
 
Someone had this problem on Solaris 2.5. Any ideas?
  
Thanks,
Rasana
   
PS: His path is VERY long (maybe a 100 or so).
    
> The problem was, even the PATH env variable had /bin in it,
> the commands like 'date', 'pwd' were not found.
>
> I think the problem I described occurs when I run a script for
> setting up the development environment upon starting a new shell.
> It is probably not a solaris or sunos problem.

------- Forwarded Message

From: Andrew Lamb <andrew@mis.mua.go.th>

> PS: His path is VERY long (maybe a 100 or so).

Check each directory in the path carefully. Do they all really exist? If
one of them does not exist, it would cause an error and the rest of the
directories in the path instruction would not be read. I suspect a
missing or misplaced : in your path-setting instruction in .profile or
.cshrc

> > The problem was, even the PATH env variable had /bin in it,
> > the commands like 'date', 'pwd' were not found.

Check that the user's group id is correct. Look in the file /etc/passwd
The gid is stored in the 4th field (The fields are seperated by : ) If
his gid is incorrect he might not be able to access some files that other
users can access.

------- End of Forwarded Message



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT