Getting Error 0403-006 Execute permission denied.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Getting Error 0403-006 Execute permission denied.
# 1  
Old 07-06-2011
Getting Error 0403-006 Execute permission denied.

Hi All,
Need your help..

I am writing one script in which I am assigning value to one variable but when i am executing it is showing error "0403-006 Execute permission denied"

below is the line of that script :

INPUT_COUNT=wc $GIF_DIR/input/VID_RIMS.DAT | awk '{print $1}'

and access permission for the used file in this command is :


-rw-r--r-- 1 vas vas 107226 Jul 06 03:33 VID_RIMS.DAT

Please help me ..
# 2  
Old 07-06-2011
are u using back tick for execution?

Code:
INPUT_COUNT=`wc $GIF_DIR/input/VID_RIMS.DAT | awk '{print $1}'`

also, what is there in $GIF_DIR

do echo "$GIF_DIR" before the inpt_count calculation

Last edited by itkamaraj; 07-06-2011 at 06:22 AM..
# 3  
Old 07-06-2011
Thanks

The problem was 'space' between = and ` now it it is working file.

Thanks for your reply....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pipe, permission denied error

Hello, I am trying to stream lines written into file. When first source is down, I expect the code to swap to second line and run it. Script below works as usual and it prints out each line of the input file (s.txt): #!/bin/bash while read -r line; do echo "$line" done <"$1" exit 0Output... (12 Replies)
Discussion started by: baris35
12 Replies

2. HP-UX

Swinstall and rsync - execute permission denied

Hello, I have managed to install rsync using swinstall and also as far as I can tell the dependancies we didn't have. However when trying to execute the binary I get the following error :- />rsync sh: rsync: Execute permission denied. />which rsync /usr/local/bin/rsync... (10 Replies)
Discussion started by: YogaBija
10 Replies

3. Shell Programming and Scripting

Change: xecho: execute permission denied error

Hello, I am have an issues with one of my scripts. I get the following error when I get to the point in the script where I am making the change. The change does take however. the error is "change: xecho: execute permission denied" Everything was working properly until I start cleaning... (3 Replies)
Discussion started by: simpsonjr
3 Replies

4. AIX

slibclean: 0403-006 Execute permission

Friends , I am going to update the oracle version from '10.2.0.1.0' to '10.2.0.4.0' in AIX 6.1 . During upgradation it needs to run the following script as root user : sh /usr/sbin/slibclean But when this script is run then it shows the following error : # sh /usr/sbin/slibclean sh:... (7 Replies)
Discussion started by: shipon_97
7 Replies

5. OS X (Apple)

Permission Denied Error with X11

Hello, I am using Tiger 10.4.11 I am trying out the GIMP, so I installed the X11 package from "Optional Installs" on the cd. Whenever I open X11, I get an error: xterm: could not exec /dev/null: Permission denied I have chmodded /dev/null to 777, as well as the /tmp directory. I deleted... (2 Replies)
Discussion started by: Ricardo-san
2 Replies

6. AIX

rm: execute permission denied in AIX

Hello All, We have an existing ssh set-up between 2 Unix servers ( Server A and Server B). Recently, we've had a problem where we cannot delete files (via app engine and even manually, after connecting thru ssh) on Server B. We manage Server A but Server B is handled by a different group, as a... (1 Reply)
Discussion started by: chipahoys
1 Replies

7. AIX

0403-006 Execute permission denied.

Hi i am running the below script in vio server, i changed to aix mode..then #./script1 </code> ##Set today Date as file name. vardate= date +"%m%d%y%H%M%S" varhost= hostname filename= "$varhost_$vardate" echo $filename </code> the output is ....... </code> # ./mount_test ... (6 Replies)
Discussion started by: honeym210
6 Replies

8. UNIX for Advanced & Expert Users

wat is execute permission denied???

hi, i have a problem and is needed by next week. when i need to run a program at the specified time using the crontab, after that the program which will send a messege to the screen using the say command, which will show "Hello" but there is an error when i run it, in the mail it show that ... (5 Replies)
Discussion started by: ckng
5 Replies

9. UNIX for Advanced & Expert Users

getcwd: permission denied error

When I do a 'cd /appl' and issue 'ls -al' command, I get the following error for .. directory. ./..: Permission denied But still I get a listing of other directories under /appl. Also, if I give 'man' for any command under this /appl folder, I get the following error: ... (3 Replies)
Discussion started by: Deepa
3 Replies

10. UNIX for Dummies Questions & Answers

rm Permission Denied error

I am very new to Unix. We have a script that will remove files from a directory. The account removing the files has the same permissions as the directory the files are located. We have logged in as the account and deleted the files from that directory but when we run the script with the account... (7 Replies)
Discussion started by: Cech2002
7 Replies
Login or Register to Ask a Question