• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic