• Post Reply Bookmark Topic Watch Topic
  • New Topic

ksh: ./java: 0403-006 Execute permission denied.  RSS feed

 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
my application which include a java runtime jre is packed into tar.gz file, then uploaded to the AIX server, uncompress there, the premission of everything seem like 751, but when i navigate into the jre directory, execute command
./java

it tell me "ksh: ./java: 0403-006 Execute permission denied."

i am sure the permission to the java is 751

who can help?
Thanks
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps the disk you're unpacking to has the "noexec" flag set, so that no programs may be executed from that filesystem? See if you can copy /bin/sh to the directory where java is, and then run it!

Otherwise, show us the output of "ls -l ./java" .
 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks please refer to follow:

/home/brioadm/binary/jre/bin -> whoami
brioadm
/home/brioadm/binary/jre/bin -> ls -l java
-rwxrwxrwx 1 brioadm sckey 70611 Oct 01 2006 java
/home/brioadm/binary/jre/bin -> ./java -version
ksh: ./java: 0403-006 Execute permission denied.
/home/brioadm/binary/jre/bin -> cp /usr/bin/ksh ksh
/home/brioadm/binary/jre/bin -> ./ksh
$
$


otherwise, i know that there are several apps running on this disk.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!