The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Only Execute Permission for Others... pbsrinivas Shell Programming and Scripting 3 06-09-2007 03:15 AM
wat is execute permission denied??? ckng UNIX for Advanced & Expert Users 5 10-11-2006 06:41 PM
Need to execute 2 scripts, wait, execute 2 more wait, till end of file halo98 Shell Programming and Scripting 1 08-01-2006 01:42 PM
without execute permission Raom Shell Programming and Scripting 1 06-08-2006 01:31 AM
simple Unix Execute permission for "others" jsudha HP-UX 1 07-26-2004 12:45 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-19-2001
Registered User
 

Join Date: Jul 2001
Location: London
Posts: 2
No permission to execute file

I am logged in as root and am trying to execute a file called x_cleanup_equdata but keep getting the message
ksh: x_cleanup_equdataNEW: 0403-006 Execute permission denied.
I did FTP this file from another server using GET, would this make the difference?
I tried chmod 666 but still no luck. any ideas?
Thanks
Forum Sponsor
  #2 (permalink)  
Old 07-19-2001
mod mod is offline
Registered User
 

Join Date: Jul 2001
Location: Vienna
Posts: 29
Wink

You was on the right way with chmod .. but you took the wrong numbers: for executing a file you should use 777.

4=read
2=write
1=exec

so If you combine 4 + 2 you come to 6 and thats only read + write ... so add 1 to 7 and exec is also included.

hope this helps
br
  #3 (permalink)  
Old 07-19-2001
Registered User
 

Join Date: Jul 2001
Location: London
Posts: 2
Sure does. Thanks. I never used this forum before so was unsure of a response and looked up a unix manual and found the command chmod +x [filename]. This also worked by the way but your way is more descriptive of how to chnage pemrissions.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0