This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes ./startup.sh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "./startup.sh "Permission Denied"" Watch "./startup.sh "Permission Denied"" New topic
Author

./startup.sh "Permission Denied"

Richard Elsberry
Ranch Hand

Joined: Mar 14, 2001
Posts: 40
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

Joined: Sep 07, 2001
Posts: 25
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ./startup.sh "Permission Denied"