File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

./startup.sh "Permission Denied"

 
Richard Elsberry
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
jasonkosowan
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic