• 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

./startup.sh "Permission Denied"

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The answer to this must be embarrasingly simple but for some reason I can't figure out why I get a "Permission Denied" error message when I try to run /usr/local/tomcat/bin/./startup.sh. This happens if I run ./startup.sh from within the bin directory as well. I am running RH 7.1 and it displays in both user and su mode.
Thanks Richard
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well, if it's occuring when you "su" as well as when you are logged in as you, try this:
chmod u+x /usr/local/tomcat/bin/startup.sh
This gives (+) the user (u) permission to execute (x) the file.

Originally posted by Richard Elsberry:
The answer to this must be embarrasingly simple but for some reason I can't figure out why I get a "Permission Denied" error message when I try to run /usr/local/tomcat/bin/./startup.sh. This happens if I run ./startup.sh from within the bin directory as well. I am running RH 7.1 and it displays in both user and su mode.
Thanks Richard


 
reply
    Bookmark Topic Watch Topic
  • New Topic