The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-12-2007
shriashishpatil shriashishpatil is offline
Registered User
  
 

Join Date: Dec 2005
Location: Pune
Posts: 81
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".



Quote:
snv899!ashishp:~ [151]> ls -l tmp
-rwxr-xr-x 1 ashishp rater 8 Apr 12 09:38 tmp*
snv899!ashishp:~ [152]>
snv899!ashishp:~ [152]>
snv899!ashishp:~ [152]> cat tmp
echo hi
snv899!ashishp:~ [153]> . ./tmp
.: Permission denied.
snv899!ashishp:~ [154]> . tmp
.: Permission denied.
snv899!ashishp:~ [155]>
Any explanation for this behaviour?

Thanks in advance,
-Ashish