Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 17:47, John Villar wrote: And the directory's permissions are the same? (should be, but just in case) remember that new files don't necesarilly have rw-r--r-- permissions The directories permissions are drwxrwxr-x and the system wide umask is 0002 As I said: when I create a file

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 16:31, Shapira, Yoav wrote: Hola, This is typical of when apps step outside the Servlet Spec, which does not include support for apps writing files except to a temporary directory where permissions are guaranteed to be readable back by the app and no more. Tomcat supports running with

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread John Villar
And the directory's permissions are the same? (should be, but just in case) remember that new files don't necesarilly have rw-r--r-- permissions Christian Riedel escribió: On 19.08.2004 16:36, John Villar wrote: just as a gues have you sat the Sticky or the UID bit of your directory? N

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 16:36, John Villar wrote: just as a gues have you sat the Sticky or the UID bit of your directory? No, I have not ... when I cd to the directory and do a "touch testfile" on the cosole the file's permissions are as expected rw-r--r-- So why should it not work from within Tomca

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread John Villar
t environments. Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Christian Riedel Sent: Thursday, August 19, 2004 10:22 AM To: [EMAIL PROTECTED] Subject: Re: Changing file permissions from within tomcat does not work On 19.08.

RE: Changing file permissions from within tomcat does not work

2004-08-19 Thread Shapira, Yoav
;From: news [mailto:[EMAIL PROTECTED] On Behalf Of Christian Riedel >Sent: Thursday, August 19, 2004 10:22 AM >To: [EMAIL PROTECTED] >Subject: Re: Changing file permissions from within tomcat does not work > >On 19.08.2004 15:35, QM wrote: >> On Thu, Aug 19, 2004 at 11:28:16AM +

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 15:35, QM wrote: On Thu, Aug 19, 2004 at 11:28:16AM +0200, Christian Riedel wrote: : Creating the file via FileOutputStream works fine. But : the problem is, that the created file has the file-permissions rw--- : although the system wide umask and the user-set umask say, that ne

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread QM
On Thu, Aug 19, 2004 at 11:28:16AM +0200, Christian Riedel wrote: : Creating the file via FileOutputStream works fine. But : the problem is, that the created file has the file-permissions rw--- : although the system wide umask and the user-set umask say, that new : files should be rw-r--r--.