Re: [EXTERNAL EMAIL] About granting permissions to Tomcat JVM

2022-10-20 Thread Niranjan Rao
get the file to be removed physically when i close the Tomcat instance. Does this problem relate to permissions in catalina.policy ? How to solve this?

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Martin Moore > Gesendet: Sonntag, 9. Oktober 2022 17:59 > An: Tomcat Users List > Betreff: Re: About granting permissions to Tomcat JVM > > @thomas.hoffm...@speed4trade.com.invalid > how to use the debugger in > t

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
ch might use a > >> MappedByteBuffer to read or write. > >> > >> > >>> > >>> Le dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) > >>> a écrit : > >>> > >>>> > >>>>> -Ursprüng

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Rob Sargent
n in some other routines which might use a >> MappedByteBuffer to read or write. >> >> >>> >>> Le dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) >>> a écrit : >>> >>>> >>>>> -Ursprüngliche Nachricht- >

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
; > > Von: Martin Moore > > > > Gesendet: Sonntag, 9. Oktober 2022 15:37 > > > > An: thomas.hoffm...@speed4trade.com.invalid; Tomcat Users List > > > > > > > > Betreff: Re: About granting permissions to Tomcat JVM > > > > >

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Rob Sargent
application does not > see the file anymore but if i open the folder i still see the file which is > then locked by Java process. I only get the file to be removed physically > when i close the Tomcat instance. > > Does this problem relate to permissions in catalina.policy ? > How t

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
ffm...@speed4trade.com.invalid; Tomcat Users List > > > > > > Betreff: Re: About granting permissions to Tomcat JVM > > > > > > the ProcessExplorer shows that a Java process is running on the file > > > and > > this > > > only after

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) a écrit : > > > -Ursprüngliche Nachricht- > > Von: Martin Moore > > Gesendet: Sonntag, 9. Oktober 2022 15:37 > > An: thomas.hoffm...@speed4trade.com.invalid; Tomcat Users List > > > > Betr

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Martin Moore > Gesendet: Sonntag, 9. Oktober 2022 15:37 > An: thomas.hoffm...@speed4trade.com.invalid; Tomcat Users List > > Betreff: Re: About granting permissions to Tomcat JVM > > the ProcessExplorer shows that a Java proces

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Suvendu Sekhar Mondal
Greetings, > > Thomas > > > > > -Ursprüngliche Nachricht- > > > Von: Martin Moore > > > Gesendet: Sonntag, 9. Oktober 2022 09:56 > > > An: Tomcat Users List ; ma...@apache.org > > > Betreff: Re: About granting permissions to Tomcat

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
--- > > Von: Martin Moore > > Gesendet: Sonntag, 9. Oktober 2022 09:56 > > An: Tomcat Users List ; ma...@apache.org > > Betreff: Re: About granting permissions to Tomcat JVM > > > > Hello Mark, > > > > I don't know if the SecurityManager is enabled or

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Martin Moore > Gesendet: Sonntag, 9. Oktober 2022 09:56 > An: Tomcat Users List ; ma...@apache.org > Betreff: Re: About granting permissions to Tomcat JVM > > Hello Mark, > > I don't know if the SecurityManager is enabled

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
ication does not > > see the file anymore but if i open the folder i still see the file which > is > > then locked by Java process. I only get the file to be removed physically > > when i close the Tomcat instance. > > > > Does this problem relate to permissi

Re: About granting permissions to Tomcat JVM

2022-10-08 Thread Mark Thomas
i open the folder i still see the file which is then locked by Java process. I only get the file to be removed physically when i close the Tomcat instance. Does this problem relate to permissions in catalina.policy ? Unlikely. Are you using a SecurityManager? How to solve this? Where

About granting permissions to Tomcat JVM

2022-10-08 Thread Martin Moore
which is then locked by Java process. I only get the file to be removed physically when i close the Tomcat instance. Does this problem relate to permissions in catalina.policy ? How to solve this?

RE: How to configure Tomcat 8.5.x to run in with a different windows service user, and what are minimum permissions

2022-06-22 Thread paul.leo
with a different windows service user, and what are minimum permissions On 22/06/2022 17:02, paul@stgconsulting.com wrote: > Hello all, > > I been tasked with researching options for running Tomcat 8.5.x as a > windows service, but with a different user. > > I need to know

Re: How to configure Tomcat 8.5.x to run in with a different windows service user, and what are minimum permissions

2022-06-22 Thread Mark Thomas
w to pass user and password. I don't see how to encrypt password though. Other options would be appreciated as well. Any reason running as the default (assuming a recent Tomcat version) LocalService isn't sufficiently secure? The minimum permissions would depend on the app but off

How to configure Tomcat 8.5.x to run in with a different windows service user, and what are minimum permissions

2022-06-22 Thread paul.leo
Hello all, I been tasked with researching options for running Tomcat 8.5.x as a windows service, but with a different user. I need to know what minimum rights for user would be, and also how to pass user & password. I think I see how to pass user and password. I don't see how to encrypt pa

Re: File and directory permissions on Tomcat 8.5 tar archive

2017-11-24 Thread Konstantin Kolinko
rocess is done by running a puppet script that > extracts the tar archive on all the servers (many). > > Are there any reasons why the file and directory permissions differ from > the tar archive and the zip archive? > When I unpack the tar archive the permissions on files and dire

Re: AW: File and directory permissions on Tomcat 8.5 tar archive

2017-11-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thomas, On 11/24/17 9:10 AM, Thomas Rohde wrote: > -Original message- From: Christopher Schultz > Sent: Friday 24th November 2017 > 14:46 To: users@tomcat.apache.org Subject: Re: AW: File and > directory permissions on To

RE: AW: File and directory permissions on Tomcat 8.5 tar archive

2017-11-24 Thread Thomas Rohde
Chris, -Original message- From: Christopher Schultz  Sent: Friday 24th November 2017 14:46 To: users@tomcat.apache.org Subject: Re: AW: File and directory permissions on Tomcat 8.5 tar archive -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thomas, On 11/24/17 8:39 AM, Thomas Rohde

Re: AW: File and directory permissions on Tomcat 8.5 tar archive

2017-11-24 Thread Christopher Schultz
treff: Re: File > and directory permissions on Tomcat 8.5 tar archive > > Rune, > > On 11/24/17 7:53 AM, Rune Rustand wrote: >> Apache Tomcat 8.5.23 Redhat Enterprise Linux 7.4 >> (3.10.0-693.1.1.el7.x86_64) > > > >> Binary distributions tar archive >

AW: File and directory permissions on Tomcat 8.5 tar archive

2017-11-24 Thread Thomas Rohde
-Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Freitag, 24. November 2017 14:21 An: users@tomcat.apache.org Betreff: Re: File and directory permissions on Tomcat 8.5 tar archive -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rune

Re: File and directory permissions on Tomcat 8.5 tar archive

2017-11-24 Thread Christopher Schultz
0 to Tomcat 8.5, and are > using the core archive. The process is done by running a puppet > script that extracts the tar archive on all the servers (many). > > Are there any reasons why the file and directory permissions differ > from the tar archive and the zip archive? Good questio

File and directory permissions on Tomcat 8.5 tar archive

2017-11-24 Thread Rune Rustand
servers (many). Are there any reasons why the file and directory permissions differ from the tar archive and the zip archive? When I unpack the tar archive the permissions on files and directories are not set for all users. I unpack the archive like this: tar zxvpf apache-tomcat-8.5.23.tar.gz

Re: Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Christopher Schultz
Andres, On 12/3/15 8:42 AM, Andres Riancho wrote: > List, > > I'm trying to secure my tomcat instances. One of the steps I took > was to run the tomcat process using the non-privileged "tomcat" user, > and set the file system permissions as restrictive as poss

Re: Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Mark H. Wood
On Thu, Dec 03, 2015 at 10:42:40AM -0300, Andres Riancho wrote: > List, > > I'm trying to secure my tomcat instances. One of the steps I took > was to run the tomcat process using the non-privileged "tomcat" user, > and set the file system permissions as r

Tomcat log files - Strict permissions - setuid

2015-12-03 Thread Andres Riancho
List, I'm trying to secure my tomcat instances. One of the steps I took was to run the tomcat process using the non-privileged "tomcat" user, and set the file system permissions as restrictive as possible. It all works well, but there is something missing: "The tomcat user

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread Lmhelp1
And you would also want something that is not going to be constantly flagged as insecure by security audit programs. They may have a set pattern of permissions that they expect, and they might not like that your webapp directory is "writeable by group". I understand. Are you thinking

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread André Warnier
t going to be constantly flagged as insecure by security audit programs. They may have a set pattern of permissions that they expect, and they might not like that your webapp directory is "writeable by group". I understand. Are you thinking about "tiger"? I wasn't thin

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread Lmhelp1
On 2014-03-13 12:03 PM, André Warnier wrote: On 2014-03-12 11:49 PM, Neven Cvetkovic [via Tomcat] wrote: How about setting up umask 002 on tomcat6 user? All newly created files would be have 775 permission. Yes, well, how shall I do that? Personally, I don't think you should. The scary thin

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread Lmhelp1
ms. They may have a set pattern of permissions that they expect, and they might not like that your webapp directory is "writeable by group". I understand. Are you thinking about "tiger"? Also, there is no guarantee that the webapps directory of a servlet engine would be writeable

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread André Warnier
Lmhelp1 wrote: Hello and thank you for your answer. On 2014-03-12 11:49 PM, Neven Cvetkovic [via Tomcat] wrote: How about setting up umask 002 on tomcat6 user? All newly created files would be have 775 permission. Yes, well, how shall I do that? Personally, I don't think you should. The sc

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread André Warnier
Lmhelp1 wrote: On 2014-03-12 11:32 PM, André Warnier [via Tomcat] wrote: Ok, I understand : the target directory is not created by you, it is created by Tomcat, so Tomcat sets these permissions, and they do not fit what you want to be able to do. That's it, I only miss the write permi

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread Lmhelp1
Hello and thank you for your answer. On 2014-03-12 11:49 PM, Neven Cvetkovic [via Tomcat] wrote: How about setting up umask 002 on tomcat6 user? All newly created files would be have 775 permission. Yes, well, how shall I do that? Who is placing these files into the webapp folder? I am man

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread Lmhelp1
On 2014-03-12 11:32 PM, André Warnier [via Tomcat] wrote: Ok, I understand : the target directory is not created by you, it is created by Tomcat, so Tomcat sets these permissions, and they do not fit what you want to be able to do. That's it, I only miss the write permission for the

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread Neven Cvetkovic
k at them >>> 2) if they are ok, move them somewhere else >>> 3) if they are not ok, delete them >> >> >> That's it. >> >>> then (under Linux) you do not need write permissions to the files >>> themselves. >>> To be able to r

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread André Warnier
need write permissions to the files themselves. To be able to read a file, you need : - read and "browse" (x) access to the directory where these files are, and any directory above that one, up to "/". To be able to move a file from one directory to another, you need write

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread Lmhelp1
Hello and thank you for your answer. On 2014-03-12 11:54 AM, André Warnier wrote: If all you need to do, is to 1) read those files, to look at them 2) if they are ok, move them somewhere else 3) if they are not ok, delete them That's it. then (under Linux) you do not need write permis

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread André Warnier
Lmhelp1 wrote: On 2014-03-11 7:44 PM, André Warnier [via Tomcat] wrote: Maybe easier : supposing that your user-id is "lmhelp1". Do "adduser lmhelp1 tomcat6" (that will add your user-id to the group tomcat6). Then logout, and login again. Then you would already have the

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread Lmhelp1
On 2014-03-11 7:44 PM, André Warnier [via Tomcat] wrote: Maybe easier : supposing that your user-id is "lmhelp1". Do "adduser lmhelp1 tomcat6" (that will add your user-id to the group tomcat6). Then logout, and login again. Then you would already have the permissions to read

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread André Warnier
stores files in a directory. I, as a human, check these files. And when I'm ready, I put them manually in another directory (in the "WebContent" directory of the webapp to be more precise). I just do not want to put the files directly online. > Can you not give to this other pr

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Lmhelp1
unning, and the JVM runs Tomcat and webapp code). > Since the JVM is started under the user/group "tomcat6", when the webapp creates a file, it uses that user/group, and the "umask" of that user, to set the file ownership and permissions. Yes, it looks like this is it. >

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread André Warnier
Lmhelp1 wrote: -- Files created by a Tomcat webapp and owner, owner group, permissions for this file -- Hello and thank you for reading my post. I am running a "Tomcat v6.0" webapp on a "Debian 7.2 Wheezy" OS. In particular, this webapp creates some files on the fi

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 3/11/14, 12:31 PM, Lmhelp1 wrote: > -- Files created by a Tomcat webapp and owner, owner group, > permissions for this file -- > > Hello and thank you for reading my post. > > I am running a "Tomcat v6.0" we

Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread Lmhelp1
-- Files created by a Tomcat webapp and owner, owner group, permissions for this file -- Hello and thank you for reading my post. I am running a "Tomcat v6.0" webapp on a "Debian 7.2 Wheezy" OS. In particular, this webapp creates some files on the filesystem. Th

Re: Setting log file permissions upon creation?

2013-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 12/17/13, 11:29 AM, Mark Eggers wrote: > There are not a lot of files that Tomcat creates. > > 1. log files, as we have been discussing 2. PID file - if enabled, > and that depends on where you write it 3. serialized sessions 4. > JSP file

Re: Setting log file permissions upon creation?

2013-12-17 Thread Mark Eggers
On 12/17/2013 4:39 AM, Chris Wise wrote: On Mon, Dec 16, 2013 at 10:25 PM, Mark Eggers wrote: Inline response: This is true, but shouldn't be a problem. If you're running on a system that has ACL, then you could try the following: cd $CATALINA_BASE setfacl -n -d -m u::rwx,g::rx,o::- logs R

Re: Setting log file permissions upon creation?

2013-12-17 Thread Chris Wise
On Mon, Dec 16, 2013 at 10:25 PM, Mark Eggers wrote: > Inline response: > > This is true, but shouldn't be a problem. > > If you're running on a system that has ACL, then you could try the > following: > > cd $CATALINA_BASE > setfacl -n -d -m u::rwx,g::rx,o::- logs > > Read the setfacl / getfacl

Re: Setting log file permissions upon creation?

2013-12-16 Thread Mark Eggers
two cents /mde/ Thanks again! On Mon, Dec 16, 2013 at 7:25 PM, Mark Eggers wrote: On 12/16/2013 4:04 PM, Chris Wise wrote: Hi, I’m wondering if there is a way to force Tomcat to set permissions on log files when they’re created? It seems as though this would be something

Re: Setting log file permissions upon creation?

2013-12-16 Thread Chris Wise
> >> Hi, >> >> >> >> I’m wondering if there is a way to force Tomcat to set permissions on log >> files when they’re created? It seems as though this would be something >> defined in the logging.properties file, but it doesn’t seem like it’s an >> option. >

Re: Setting log file permissions upon creation?

2013-12-16 Thread Mark Eggers
On 12/16/2013 4:04 PM, Chris Wise wrote: Hi, I’m wondering if there is a way to force Tomcat to set permissions on log files when they’re created? It seems as though this would be something defined in the logging.properties file, but it doesn’t seem like it’s an option. I want the

Setting log file permissions upon creation?

2013-12-16 Thread Chris Wise
Hi, I’m wondering if there is a way to force Tomcat to set permissions on log files when they’re created? It seems as though this would be something defined in the logging.properties file, but it doesn’t seem like it’s an option. I want the permissions of all log files created (on server

Re: 404 - Might there be something wrong with my permissions?

2013-11-21 Thread Konstantin Kolinko
2013/11/21 Fredrik Andersson : > Hello Tomcat-experts! It is hard to read you message. > I have recently bought some space at a webhotel that uses Apache HTTP server > as front before a Tomcat 6.0.37.My account at the webhotel is said to support > Struts and Hibernate and such technics.At home

RE: 404 - Might there be something wrong with my permissions?

2013-11-21 Thread Fredrik Andersson
, but through struts I got 404.Now at home I just get 404 in both ways. One interesting thing is that it looks like the app do not got permissions to load the struts-default.xml: Caused by: Caught exception while loading file struts-default.xml ...that could be the same issue in production since no

RE: 404 - Might there be something wrong with my permissions?

2013-11-21 Thread Fredrik Andersson
> Date: Thu, 21 Nov 2013 17:10:58 +0400 > Subject: Re: 404 - Might there be something wrong with my permissions? > From: knst.koli...@gmail.com > To: users@tomcat.apache.org > > 2013/11/21 Fredrik Andersson : > > Hello Tomcat-experts! > > It is hard to read you m

404 - Might there be something wrong with my permissions?

2013-11-20 Thread Fredrik Andersson
Hello Tomcat-experts! I have recently bought some space at a webhotel that uses Apache HTTP server as front before a Tomcat 6.0.37.My account at the webhotel is said to support Struts and Hibernate and such technics.At home I have developed a app that uses those technics and of course it runs fi

Re: Controlling permissions when creating directories

2013-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, On 7/30/13 1:51 PM, sderrick wrote: > The host we use, uses the java service wrapper to launch tomcat so > I added > > wrapper.java.umask=0002 > > to the .conf file. > > Now I can ratchet the the permissions down

Re: Controlling permissions when creating directories

2013-07-30 Thread sderrick
Vidyadhar,     thanks for the tip!     The host we use, uses the java service wrapper to launch tomcat so I added     wrapper.java.umask=0002     to the .conf file.     Now I can ratchet the the permissions down with

Re: Controlling permissions when creating directories

2013-07-30 Thread techienote . com
Hi Scott, Try following 1. Stop the services 2. Set the umask to 002. Command for the same is umask 022 3. Start the services Remember you need to perform all above in a single shell/terminal. Above umask will give permissions are as follows Directory 775 File 664 Regards, Vidyadhar Sent on

Re: Controlling permissions when creating directories

2013-07-29 Thread Christopher Schultz
works fine on a tomcat7 server running on my desktop > machine. Running tomcat7 on the server, its broke. > > I create the folder, OK. I upload the file, OK I run the first > process, NOT! > > I've tracked it down the permissions on the created folders. They > don'

Controlling permissions when creating directories

2013-07-29 Thread sderrick
folder, OK. I upload the file, OK I run the first process, NOT! I've tracked it down the permissions on the created folders. They don't have write access on the group, so the write fails. If I manually change the permission to 0760 it works fine. I specify write permissions when I create

Controlling permissions when creating directories

2013-07-29 Thread Scott Derrick
folder, OK. I upload the file, OK I run the first process, NOT! I've tracked it down the permissions on the created folders. They don't have write access on the group, so the write fails. If I manually change the permission to 0760 it works fine. I specify write permissions when I create

Re: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-07 Thread Peter Benko
share the > same group ('group1'). User 'user1' writes some files that have the > following permissions: > > -rw-r- 1 user1 group1 788 Sep 5 19:42 file.log > > The folder containing this file has the following permissions: > > drwxr-xr-- 2 user1 g

Re: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread Udam Dewaraja
gt; >> >> We have two users ('user1' and 'user2') on our linux server that share the >> same group ('group1'). User 'user1' writes some files that have the >> following permissions: >> >> -rw-r- 1 user1 group1 788 Sep 5

Re: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread André Warnier
Udam Dewaraja wrote: Hi all, I'm stumped on a seemingly java/tomcat related issue and am hoping someone can provide some help. We have two users ('user1' and 'user2') on our linux server that share the same group ('group1'). User 'user1' writes s

Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread Udam Dewaraja
Hi all, I'm stumped on a seemingly java/tomcat related issue and am hoping someone can provide some help. We have two users ('user1' and 'user2') on our linux server that share the same group ('group1'). User 'user1' writes some files that have t

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-18 Thread deniz
://tomcat.10.n6.nabble.com/Tomcat-7-JDK-7-access-permissions-error-or-bug-tp3679835p3874666.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-18 Thread Konstantin Kolinko
and JRE libs (${catalina.home}/lib/-, ${java.home}/lib/-). The stacktrace that you show above, as well as ones in [1] all show only Tomcat or JRE classes, so all permissions must be granted, unless there is something that I miss. What is puzzling is that you say that the failure starts to o

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-17 Thread eprost
tor.run(JIoEndpoint.java:207) >> at java.lang.Thread.run(Thread.java:722) >> >> >> i have to kill tomcat and then after some time it happens again... any >> ideas? >> >> -- >> View this message in context: >> http://tomcat.10.n

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-17 Thread deniz
7.0.23 is this a bug in this version? -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat-7-JDK-7-access-permissions-error-or-bug-tp3679835p3680278.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-17 Thread Pid
ket(DefaultServerSocketFactory.java:60) > at > org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:207) > at java.lang.Thread.run(Thread.java:722) > > > i have to kill tomcat and then after some time it happens again... any > ideas? >

Tomcat 7 & JDK 7 access permissions: error or bug?

2012-01-16 Thread deniz
omcat and then after some time it happens again... any ideas? -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat-7-JDK-7-access-permissions-error-or-bug-tp3679835p3679835.html Sent from the Tomcat - User mail

Re: Tomcat file permissions

2011-08-02 Thread Richard Frovarp
On 08/02/2011 03:37 PM, Konstantin Kolinko wrote: 2011/8/2 Richard Frovarp: We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. For record, what exact versions of each, especially of jsvc? Tomcat 7.0.16 JSVC 1.0.5 --

Re: Tomcat file permissions

2011-08-02 Thread Konstantin Kolinko
2011/8/2 Richard Frovarp : > We're launching Tomcat 7 under Linux using jsvc, and having it run under the > tomcat7 user we created. For record, what exact versions of each, especially of jsvc? Best regards, Konstantin Kolinko -

Tomcat file permissions

2011-08-02 Thread Richard Frovarp
We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. The issue we're seeing is that we had a webapp that was misconfigured, so that the tomcat7 user and all groups it is under did not have read access to the files. These files do not have world

[SECURITY] CVE-2010-3718 Apache Tomcat Local bypass of security manger file permissions

2011-02-04 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2010-3718 Apache Tomcat Local bypass of security manger file permissions Severity: Low Vendor: The Apache Software Foundation Versions Affected: - - Tomcat 7.0.0 to 7.0.3 - - Tomcat 6.0.0 to 6.0.? - - Tomcat 5.5.0 to 5.5.? - - Earlier

[SECURITY] CVE-2010-3718 Apache Tomcat Local bypass of security manger file permissions

2011-02-04 Thread Mark Thomas
CVE-2010-3718 Apache Tomcat Local bypass of security manger file permissions Severity: Low Vendor: The Apache Software Foundation Versions Affected: - Tomcat 7.0.0 to 7.0.3 - Tomcat 6.0.0 to 6.0.? - Tomcat 5.5.0 to 5.5.? - Earlier, unsupported versions may also be affected Description: When

Re: Problem with security permissions and access denied page for ldap users

2008-12-19 Thread an...@iguanait.com
Any suggestions about my problem? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Problem with security permissions and access denied page for ldap users

2008-12-18 Thread an...@iguanait.com
Hi, i installed bedework calendar server and i'm trying to get bedework to authenticate using LDAP. I added ldap jar files to the lib folder and added this realm to server.xml file ldap://localhost:389"; userPattern="uid={0},ou=Users,dc=mydomain,dc=com" roleBase="

Re: WARNING: User database is not persistable - no write permissions on directory

2008-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dimas, Dimas wrote: > I've installed an Ubuntu Server 8.10 with the Tomcat6 package. When I > start it this msg appears on the Catalina log: > > WARNING: User database is not persistable - no write permissions on > directory >

WARNING: User database is not persistable - no write permissions on directory

2008-11-07 Thread Dimas
Hi, I've installed an Ubuntu Server 8.10 with the Tomcat6 package. When I start it this msg appears on the Catalina log: WARNING: User database is not persistable - no write permissions on directory Do you know why? Anyway the Tomcat starts OK, but when I deploy an applic

Re: Permissions for Sun JSF RI and Security Manager under Tomcat 6.0?

2008-06-25 Thread Michael Anstis
Hi, I think I have found the cause! My application code contains the following:- FacesContext fc = FacesContext.getCurrentInstance(); ExpressionFactory ef = fc.getApplication().getExpressionFactory(); ELContext elc = fc.getELContext(); ValueExpression ve = ef.createValueExpression(elc, expr, cla

Permissions for Sun JSF RI and Security Manager under Tomcat 6.0?

2008-06-24 Thread Michael Anstis
Hi, Firstly, sorry for the long stack traces in here but I included the lot incase what I discount somebody else picks up on. Anyway, when trying to use JSF 1.2-b20-FCS on Tomcat 6.0 with Java 2 Security Manager enabled I receive the below. This can be replicated by creating a new WAR and simply

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
on the tomcat bootstrap.jar. See the javadocs > http://tomcat.apache.org/tomcat-6.0-doc/api/index.html for more details. > > My point here is that java is 'just another program' to linux, and all > the permissions rules apply to the user invoking an application. You say >

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Alan Chaney
cat' you are actually invoking java on the tomcat bootstrap.jar. See the javadocs http://tomcat.apache.org/tomcat-6.0-doc/api/index.html for more details. My point here is that java is 'just another program' to linux, and all the permissions rules apply to the user invoking an app

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
Alan, this is very useful, thank you. After a bit of Googling I decided to upgrade to Tomcat6 (apparently is has less security ussies with Ubuntu). This means that the files/dirs are now created (from the tomcat app) by 'root:root' (with the same permissions described in my first post)

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Alan Chaney
This is really a linux permissions issue. How are you starting tomcat? with the $TOMCAT_HOME/bin/startup.sh or with jsvc or are you using an ubuntu startup script? You don't say anything about the user who will run the java application. Generally, the way to control the access permis

Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
ite access to these files (without having to constantly change the permissions in the command prompt, and without running my java application with 'root' access). 2.Create the files/dirs from tomcat with 'write access' 3.Other Thanking you in advance. Daniel -- View th

permissions to read/write files outside webapps directory?

2008-04-02 Thread Kimberly Begley
y by these error messages: java.io.FileNotFoundException: /home/kimberly/test/cases/85/85-settings.txt(Permission denied) Permissions on this directory are readable by everyone and I thought tomcat would be able to write/read to the tomcat5/temp directory but that doesn't appear to be happening

Re: War File Deployment - Permissions for ftp account

2008-01-02 Thread Carsten Schmitz
permissions for every virtual host if I've got the need for it and leave the default permissions for those who don't need this "feature". - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [

Re: War File Deployment - Permissions for ftp account

2007-12-28 Thread Juha Laiho
007 (permit write access to group, but prohibit write or any access by others). If that doesn't help, then a lot depends on your OS platform; it could be that it supports filesystem ACLs beyond the standard unix file permissions, which would make it possible to set default permissions on

War File Deployment - Permissions for ftp account

2007-12-28 Thread Carsten Schmitz
changing permissions with chown or chmod, but the ftpuser has no bash, and a cronjob would be the last thing I want to do. Thank you for your suggests - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail

Re: upgrade to 5.5.25 causes java permissions issues

2007-11-13 Thread Mark Thomas
Justin Kennedy wrote: > HI, > > I upgraded from 5.5.15 to 5.5.25 and now I'm getting errors relating to > java security (I'm using security manager). It appears as if my > catalina.policy is not longer being recognized, because I have clearly > outlined the permi

upgrade to 5.5.25 causes java permissions issues

2007-11-13 Thread Justin Kennedy
HI, I upgraded from 5.5.15 to 5.5.25 and now I'm getting errors relating to java security (I'm using security manager). It appears as if my catalina.policy is not longer being recognized, because I have clearly outlined the permissions for the webapps, like "java.lang.Ru

Re: Perl Permissions on Tomcat

2007-10-26 Thread Li Ye Chen
new module in Java? -Original Message- > Date: Sun Oct 14 18:29:57 EDT 2007 > From: "Mark Thomas" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > Li Ye Chen wrote: > > Script A (the prob

Re: Perl Permissions on Tomcat

2007-10-14 Thread Mark Thomas
Li Ye Chen wrote: > Script A (the problem script) continues to run after 2 minutes (with partial > output some of the time). But script A ran under the command line (as opposed > to the browser/Tomcat) is very fast -- under a second and gives full output. > Script B runs under less than a second

Re: Perl Permissions on Tomcat

2007-10-11 Thread Li Ye Chen
. -Original Message- > Date: Wed Oct 10 18:07:30 EDT 2007 > From: "Mark Thomas" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > Li Ye Chen wrote: > > Apparently, it may also be a speed issue, since

Re: Perl Permissions on Tomcat

2007-10-10 Thread Mark Thomas
Li Ye Chen wrote: > Apparently, it may also be a speed issue, since there was once when I ran > script A and after a while, I stopped the transmission -- there was actually > a partial output from the script. How long does script A take to run? Mark ---

Re: Perl Permissions on Tomcat

2007-10-10 Thread Li Ye Chen
Yes, if you mean enabling the file server/lib/servlets-cgi.jar... -Original Message- > Date: Mon Oct 09 18:25:12 EDT 2000 > From: "Martin Gainty" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > I

  1   2   >