From: Li Ye Chen [mailto:[EMAIL PROTECTED]
Subject: Re: Perl Permissions on Tomcat
I'm running Tomcat on Windows XP, and in my Configuration -
Startup menu, the entry for the Arguments text box is
start, with no other string
You're looking in the wrong place. Look at the Java options
is
going on here...
Any help will be appreciated!
-Original Message-
Date: Mon Oct 08 12:52:23 EDT 2007
From: Mark Thomas [EMAIL PROTECTED]
Subject: Re: Perl Permissions on Tomcat
To: Tomcat Users List users@tomcat.apache.org
Li Ye Chen wrote:
Will it pose a security risk if I disable
try to execute the script, it creates a Perl.exe
thread on my Windows server and just never return the HTML code (so
the browser keeps loading) -- it seems there is a permission problem.
Why do you believe there is a permissions problem? If perl.exe is
running, then you have permission to run
I asked yesterday but didnt hear back..Are you implementing via CGIServlet?
M--
- Original Message -
From: Li Ye Chen [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, October 09, 2007 4:34 PM
Subject: Re: Perl Permissions on Tomcat
Okay, I did some
Hi,
I'm trying to run a Perl script on Tomcat 5.5.8 -- I've managed to
successfully run read-only Perl script, but the script I'm trying to run
connects to the database and needs to write to the local hard drive. Whenever I
try to execute the script, it creates a Perl.exe thread on my
can focus on the permissions.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Will it pose a security risk if I disable the Security Manager? I am running an
enterprise firewall on the server...
-Original Message-
Date: Mon Oct 08 12:03:37 EDT 2007
From: Mark Thomas [EMAIL PROTECTED]
Subject: Re: Perl Permissions on Tomcat
To: Tomcat Users List users
Li Ye Chen wrote:
Will it pose a security risk if I disable the Security Manager? I am running
an enterprise firewall on the server...
That depends on your environment. But you have a separate machine for
development and/or testing - right?
Right now we need to figure out if it is the
Yes, it's on a separate machine...
-Original Message-
Date: Mon Oct 08 12:52:23 EDT 2007
From: Mark Thomas [EMAIL PROTECTED]
Subject: Re: Perl Permissions on Tomcat
To: Tomcat Users List users@tomcat.apache.org
Li Ye Chen wrote:
Will it pose a security risk if I disable
Hi all,
I have a JSP that calls some code that requires permissions that
aren't in the default grant block in catalina.policy. Even though those
permissions are granted to the code that is being called, I'm getting
access exceptions when the JSP is loaded. I believe this is because the
JSP
with permissions, but shouldn't it
just try to write the file and respond to what the OS tells it can be
done? Or is something else going on? Are my two problems related?
Is this a problem in DefaultServlet in general?
Thanks for taking a look
)
error (talking about filenames being to long), and using sitecopy I
get a 409 (conflict) error.
I understand that Java doesn't deal with permissions, but shouldn't it
just try to write the file and respond to what the OS tells it can be
done? Or is something else going on? Are my two problems
Hello!
I'm working with tomcat 5.5.9 on Windows XP. I'm experiencing a strange problem
with paths and permissions. I start catalina.bat start -security and assume
that the catalina would read permissions from the catalina.policy file in the
conf directory.
I grant permissions to the mysql
jar file is really in webapps/ROOT as described below, it won't even
be loaded by tomcat.
--David
Alexander Osherenko wrote:
Hello!
I'm working with tomcat 5.5.9 on Windows XP. I'm experiencing a strange problem with
paths and permissions. I start catalina.bat start -security and assume
intended recipient.
Sender does not necessarily endorse content contained within this
transmission.
Hello!
I'm working with tomcat 5.5.9 on Windows XP. I'm experiencing a strange
problem with paths and permissions. I start catalina.bat start -security
and assume that the catalina would read
in the
archive tag as WEB-INF/lib/applet.jar?
Cheers
Alexander
Original-Nachricht
Datum: Wed, 01 Aug 2007 09:43:24 -0400
Von: Martin Gainty [EMAIL PROTECTED]
An: users@tomcat.apache.org
Betreff: RE: Permissions
Good Morning Alexander
in $CATALINA_HOME/conf/catalina.policy
your
:43:24 -0400
Von: Martin Gainty [EMAIL PROTECTED]
An: users@tomcat.apache.org
Betreff: RE: Permissions
Good Morning Alexander
in $CATALINA_HOME/conf/catalina.policy
your environment is currently pointing to
127.0.0.1:8080
You will need to change this to
137.250.38.190:8080
I would suggest
Hello,
I am having problems making my webapps capable of doing read/write
statements. They fail with an 'permission denied' exception.
The webapps run on the server with Plesk 8.1.1 and Tomcat 5.5.23-0jpp.2.fc6
installed.
I use simple statements like:
Have you checked that the user account Tomcat runs under has
permission to write files in the directory you're using?
Also, have you tried writing files in the temp directory provided by
the container? (identified by context attribute
javax.servlet.context.tempdir)
--
Len
On 7/29/07, Marco
The stack trace related to your permission denied exception would go
miles toward resolving this. It may be because of the security manager
or it may be because of OS limits on the permissions given to the user
tomcat is running as.
--David
Marco wrote:
Hello,
I am having problems
distribuer ou de le reproduire.
- Original Message -
From: Len Popp [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Sunday, July 29, 2007 9:57 AM
Subject: Re: Webapp file permissions in Tomcat 5.5
Have you checked that the user account Tomcat runs under has
Sorry about that, it didn't occur to me that this would go under the
same thread. I don't know very much about email thread technology.
Jacob
Mark Thomas wrote:
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and
this file and given it the same
permissions as other files that Tomcat generates:
-rw-r--r-- 1 tomcat5 nogroup 2 2007-01-19 17:21 audit_log.log
Compared to:
-rw-r--r-- 1 tomcat5 nogroup 138259 2007-01-19 17:24 catalina_2007-01-19.log
The second log file is one that Tomcat generates itself
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
I have apache-tomcat-5.5.17 installed on a solaris 10 box. When my users
create their applications, they end up in
/var/local/user/apache-tomcat-5.5.17/webapps
with drwxr-r-x permissions on the directory under webapps.
what I want, it for it to show up as drwxrwr-x (group writable
hey tomcat-heads,
I have apache-tomcat-5.5.17 installed on a solaris 10 box. When my users
create their applications, they end up in
/var/local/user/apache-tomcat-5.5.17/webapps
with drwxr-r-x permissions on the directory under webapps.
what I want, it for it to show up as drwxrwr-x (group
Hi,
I had asked this question earlier in the list.
Trying again !!
I am upgrading tomcat from 5.0.25 to 5.5.17. I have
had to grant java.lang.RuntimePermission
getClassLoader permissions to the codebase in
WEBINF/lib because some of the custom defined filters
in web.xml get the following
Hi,
I am upgrading tomcat from 5.0.25 to 5.5.17. I have
had to grant java.lang.RuntimePermission
getClassLoader permissions to the codebase in
WEBINF/lib because some of the custom defined filters
in web.xml get the following exception:
SEVERE: Exception starting filter
PasswordExpirationFilter
Two solutions, neither are 'apache' solutions:
1. Set sticky bits on the permissions on the folder so new files created
under it adopt it's settings.
2. Configure your ftp service to correctly set permissions on upload.
Of course, I don't see where any of this has to do with tomcat, hence
Hi David,
Thanks for that and sorry for my ignorance of Apache Tomcat but I have
just moved from an old IIS server that didn't care about the file
permissions. I am using ftp from Windows (using Dreamweaver) to a Unix
box so windows doesn't know about setting file permissions
We answer all kinds of questions here. Just protocol to mark off topic
posts as such.
In the Unix environment, the ftp service (not to be confused with the
ftp client) can depending on vendor be configured to set permissions as
it receives files. I know in ProFTPd, it's set using the umask
for instance you could say: umask a=rw.
Hope that helps,
Jennifer
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 7:29 AM
To: Tomcat Users List
Subject: Re: [OT] Problems with file permissions
We answer all kinds of questions here. Just
with file permissions
Michelle,
I am jumping into the middle of this thread so I apologize. If you set
the umask of the owner of the files. So when you do a listing ls -alt
in the directory that the files are in and see the owner. Then go into
that user's .profile in their home directory you can
don't think you can...you usually have to administer that by some FTP tool. At
least typically you do.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 8:57 AM
To: users@tomcat.apache.org
Subject: Problems with file permissions
Hi
Michelle. See if you can create a new folder on the UNIX server while in an FTP
program like CoreFTP or WinsockFTP.
Then dump everything to THAT folder and see if permissions are kept intact.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19
PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, July 19, 2006 11:33 AM
Subject: RE: [OT] Problems with file permissions
Michelle. See if you can create a new folder on the UNIX server while in an FTP
program like CoreFTP or WinsockFTP.
Then dump everything to THAT folder
All,
Where would I find information on how to prevent access to specific
directories within a webapp? Exactly what file has to be edited?
Akin to how Apache uses .htaccess files, I would like to limit access
on a user/IP basis. The files are located within a webapp inside of
other
wrong here so that I/else someone can
help you out.
Thanks,
Prabhu S
-Original Message-
From: George Azzopardi [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 5:18 PM
To: users@tomcat.apache.org
Subject: Catalina.policy to add new file permissions
Hi people,
I have a web
:
permission java.lang.RuntimePermission getClassLoader;
I have a few other permissions that are being skipped over as well. I
verified that the catalina.policy file is being read because various
other permissions work for this web application (like writing out a log
file using log4j).
Has anyone
Well ... now I know why no one responded to this one . . . While my init.d
script was changing ownership of tomcat's directories and files to user
tomcat, it wasn't handling file permissions. Very simple fix was to run
chmod recursively on the directory setting the permissions properly
the
directory but no files and will not allow the user to upload. I know this is a
permissions problem with user tomcat but don't know where to fix it. Once in
production, I cannot run Tomcat as Root. Any suggestions would be greatly
appreciated.
Thanks
101 - 141 of 141 matches
Mail list logo