permission denied for ". " (dot space)

Hi,
When I try to run a script with ". "(dot space) in my home, it gives me error ".: Permission denied".

Any explanation for this behaviour?

Thanks in advance,
-Ashish

I am using tcsh. Isn't this command ". " avaibale in tcsh?

For ksh it works.

-Ashish

The dot command is sh/bash/ksh. That family has a lot of stuff in common. csh/tcsh is another family of shells. Almost nothing is common between the two familes.

In csh try:
source ./tmp

Usually if you want to run or refer to something in your current directory, you can simply address it with a "./" (dot slash)...to execute file in you directory, make sure it is execute permissions and then "./file". Hope that helps.

-S