This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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"
 
Similar Threads
Tomcat Install under Linux
Running tomcat in linux
UNIX shell script help
Running tomcat in linux
Tomcat 5 - startup.sh - Permission Denied