11-14-2019
The tomcat base install should set protections correctly on directory trees and objects it owns.
Apache Tomcat(R) - Welcome!
You can download tomcat and documentation from the link. Don't mess with permissions, given your level understanding you may unintentionally create a massive security problem for yourself. You may have already caused yourself a problem, as a wild guess.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I'm new to unix -solaris.
I've just upgraded a third party software product and am testing
it to see if new files created in a test database directory were being created properly and they aren't. They're owned by the user that created the file, instead of poppa and the group of their files... (2 Replies)
Discussion started by: avisb
2 Replies
2. UNIX for Dummies Questions & Answers
In our file system, the SGID for a directory is set right now. Any new files created in this directory will automatically be assigned the same group from the parent directory.
Is there a way to inherit the file permission from the parent directory as well? The OS is Solaris 2.8.
Example:... (1 Reply)
Discussion started by: april
1 Replies
3. Solaris
Hi All,
I have an issue that's eating my head for few days. I would appreciate if anyone could help me out in this to resolve this.
In Solaris 8 container I am facing the below issue.
As oracle user when I do ls -l in /dboracle mountpoint getting permission denied error messages.
$ ls... (3 Replies)
Discussion started by: Sreerag446
3 Replies
4. Shell Programming and Scripting
In shell how would I get the parent directory of a file. E.g. I feed this in:
/path/to/textfile.txt
And get just:
/path/to
Thanks (2 Replies)
Discussion started by: pcwiz
2 Replies
5. UNIX for Dummies Questions & Answers
Is there anyway i can cd to the parent directory of my current directory without using .. entries? (6 Replies)
Discussion started by: linux17
6 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
I want to restrict a users account to only a subdirectory, but it does not seem to be working.
For example
/dir1/dir2/dir3/dir4
user A is only allowed to do things in dir4. the permission is 777.
i've set the permissions to 700 on dir3, dir2, and dir1 to prevent them from... (3 Replies)
Discussion started by: newbie121
3 Replies
7. UNIX for Dummies Questions & Answers
does anyone know how to check in an 'if' statement if a particular directory is a child directory of a particular directory?
help ~ (2 Replies)
Discussion started by: ymc1g11
2 Replies
8. Shell Programming and Scripting
Hi folks,
I have an query that is let say i have to search in an xml file an tag that is <abcdef> now this xml file is at /opt/usr/local so one fastest way to achieve this is go to this location by cd /opt/usr/local and then do grep like this... grep -i abcdef but for this I must know the... (4 Replies)
Discussion started by: punpun66
4 Replies
9. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
10. UNIX for Beginners Questions & Answers
Asking about the permission inherit from the parent directory
I am running the web app with tomcat8, I did use umask 007 to set permission for folder which enable the sub files and folder inherit the permission from the parent directory, I was successful which some directories but the directories... (1 Reply)
Discussion started by: janecaongoc
1 Replies
LEARN ABOUT SUSE
ocf_heartbeat_tomcat
OCF_HEARTBEAT_TOMCAT(7) OCF resource agents OCF_HEARTBEAT_TOMCAT(7)
NAME
ocf_heartbeat_tomcat - Manages a Tomcat servlet environment instance
SYNOPSIS
tomcat [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for tomcat. It manages a Tomcat instance as an HA resource.
SUPPORTED PARAMETERS
tomcat_name
The name of the resource (optional, string, no default)
script_log
A destination of the log of this script (optional, string, no default)
tomcat_stop_timeout
Time-out at the time of the stop (optional, integer, no default)
tomcat_suspend_trialcount
The re-try number of times awaiting a stop (optional, integer, no default)
tomcat_user
A user name to start a resource (optional, string, no default)
statusurl
URL for state confirmation (optional, string, no default)
java_home
Home directory of the Java (required, string, no default)
catalina_home
Home directory of Tomcat (required, string, no default)
catalina_pid
A PID file name of Tomcat (optional, string, no default)
tomcat_start_opts
Tomcat start options (optional, string, no default)
catalina_opts
Catalina options (optional, string, no default)
catalina_rotate_log
Rotate catalina.out flag (optional, string, no default)
catalina_rotatetime
Time span of the rotate catalina.out (optional, integer, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60s.
stop
Stops the resource. Suggested minimum timeout: 120s.
status
Performs a status check. Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a tomcat resource using the crm(8) shell:
primitive example_tomcat ocf:heartbeat:tomcat
params
java_home=string
catalina_home=string
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/tomcat_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_TOMCAT(7)