On Thu, 27 Dec 2001, shyam wrote:

> I have a unique problem,

What makes you think that it is unique?

> I am unable to execute any scripts in any directory while the following 
> error occurs
> bash2: ./xyz no such file or directory

Is it the same error for all scripts or does the ./xyz error happen only 
for a script named xyz?

If it happens for all scripts, then check your .bashrc and /etc/bashrc 
files.  They may be trying to execute something that doesn't exist.

If it happens only for this one file, then check the first line of the 
file.  Does it point to a valid script interpreter (#!/bin/bash, etc)

> The file exists , it a normal script file which used to execute, and has 
> the correct 700 permissions

Who owns the file?  Who's trying to execute it?  0700 means only the 
owner of the file can read or execute it.

Philip

-- 
I've never been canoeing before, but I imagine there must be just a few
simple heuristics you have to remember...

Yes, don't fall out, and don't hit rocks.


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to