Re: [4.1.14] New test milestone released

2002-10-30 Thread Remy Maucherat
Costin Manolache wrote:


Remy Maucherat wrote:


A new test milestone of Tomcat 4.1 has just been released. Please help
test this upcoming Tomcat release for compliance issues and other
problems.

Downloads:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/

Significant changes over 4.1.13 include a security manager bugfix. Over
4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance
improvements.


Is this the final build ?


It's just another milestone (it's 4.1.13 + the security manager fix, 
more or less).


Sorry, I didn't know you plan to do it - just realised I forgot to
backport the content-length fix.


I'm away until this sunday, so I realized at the last moment the only 
time I could tag and upload the build was yesterday afternoon. I wanted 
to have a non-broken milestone out there for further testing.
I can tag a new 4.1.15 milestone next monday, which would be the 
proposed stable release.

Remy


--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org



Re: [4.1.14] New test milestone released

2002-10-30 Thread Henri Gomez
Pier Fumagalli wrote:

On 29/10/02 22:46, Costin Manolache [EMAIL PROTECTED] wrote:


Remy Maucherat wrote:



A new test milestone of Tomcat 4.1 has just been released. Please help
test this upcoming Tomcat release for compliance issues and other
problems.

Downloads:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/

Significant changes over 4.1.13 include a security manager bugfix. Over
4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance
improvements.

The full list of changes is available in the release notes.



http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/RELEASE-NOTES

One small issue: the .zip file doesn't have +x on the bin/ files.



Ehemm... Actually, the whole thing is completely wrong (I mean how the files
are on daedalus, not only what you said, Costin)...

_MAKE_SURE_ (this is _very_ important for mirrors, and I'm trying to enforce
it now that we're not _yet_ mirrored heavily) that your UMASK is set to 002
ZARRO ZARRO TO when putting stuff in /www, that _ALL_ the files you
create have a 664 mode (therefore when listing them, it needs to come out
with -rw-rw-r-- ...)

ALL directories need to be 755 (therefore only THOSE and NOT THE FILES need
to have the +x bit set) they need to look like drwxrwxr-x


Why 755 on directory ? Shouldn't they be 775 to allow group member to 
update them ?

If you don't have a clue of what I'm talking about, make sure you do man
chmod and man umask from your favorite Linux (HAHA!) box...


Better documentation via 'info chmod' on Linux ;-)


Seriously speaking, now, with the way in which the files for 4.1.14 are laid
out, they can't be moved, deleted, removed, updated, mirrored by anyone but
Remy (nah, probably right now with my config I can get them mirrored, but
anyhow, DON¹T DO IT)


That's why the dirs and files should be make writeable by group to help 
jakarta members update the rights ;)



--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org



Re: [4.1.14] New test milestone released

2002-10-30 Thread Pier Fumagalli
On 30/10/02 9:19 am, Henri Gomez [EMAIL PROTECTED] wrote:

 ALL directories need to be 755 (therefore only THOSE and NOT THE FILES need
 to have the +x bit set) they need to look like drwxrwxr-x
 
 Why 755 on directory ? Shouldn't they be 775 to allow group member to
 update them ?

Oh, mefuck... drwxrwxr-x :-) 775, finger slipped.


--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




Re: [4.1.14] New test milestone released

2002-10-29 Thread Luise Massimo
Hi, i was waiting a new release of Tomcat 4.1.x for a problem with 
symlink and looking at this test version i see that the problem is here yet.

The problem is this: if symlink are allowed (allowLinking true) AND the 
link is beetween two file INSIDE context path,
org.apache.naming.resources.FileDirContext return null in the file(..) 
method.

I have asked before to understand if this it's ok or it's an error, but 
i haven't received any answer.

For me the problem is inside 
org.apache.naming.resources.FileDirContext.file( String name ).after 
testing if canPath is inside context path, there is a test (if 
caseSensitive is active) that control if canPath is equal or not from 
absPath (in this case they are different but inside context-path).


   // Check to see if going outside of the web application root
   if ((!allowLinking)  (!canPath.startsWith(absoluteBase))) {
   return null;
   }

   // Case sensitivity check
   if (caseSensitive) {
   String fileAbsPath = file.getAbsolutePath();
   if (fileAbsPath.endsWith(.))
   fileAbsPath = fileAbsPath + /;
   String absPath = normalize(fileAbsPath);
   if (canPath != null)
   canPath = normalize(canPath);
   if ((absoluteBase.length()  absPath.length()) 
(absoluteBase.length()  canPath.length())) {
   absPath = absPath.substring(absoluteBase.length() + 1);
   if ((canPath == null) || (absPath == null))
   return null;
   if (absPath.equals())
   absPath = /;
   canPath = canPath.substring(absoluteBase.length() + 1);
   if (canPath.equals())
   canPath = /;
--   if (!canPath.equals(absPath))
--  return null;
   }
   }


Remy Maucherat wrote:

A new test milestone of Tomcat 4.1 has just been released. Please help 
test this upcoming Tomcat release for compliance issues and other
problems.

Downloads:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/

Significant changes over 4.1.13 include a security manager bugfix. Over 
4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance
improvements.

The full list of changes is available in the release notes.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/RELEASE
-NOTES

Remy


--
To unsubscribe, e-mail:
mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-dev-help;jakarta.apache.org

 


--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




Re: [4.1.14] New test milestone released

2002-10-29 Thread Costin Manolache
Remy Maucherat wrote:

 A new test milestone of Tomcat 4.1 has just been released. Please help
 test this upcoming Tomcat release for compliance issues and other
 problems.
 
 Downloads:
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/
 
 Significant changes over 4.1.13 include a security manager bugfix. Over
 4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance
 improvements.

Is this the final build ?

Sorry, I didn't know you plan to do it - just realised I forgot to 
backport the content-length fix.


-- 
Costin

--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




Re: [4.1.14] New test milestone released

2002-10-29 Thread Costin Manolache
Remy Maucherat wrote:

 A new test milestone of Tomcat 4.1 has just been released. Please help
 test this upcoming Tomcat release for compliance issues and other
 problems.
 
 Downloads:
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/
 
 Significant changes over 4.1.13 include a security manager bugfix. Over
 4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance
 improvements.
 
 The full list of changes is available in the release notes.
 
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/RELEASE-NOTES

One small issue: the .zip file doesn't have +x on the bin/ files.
 

Costin

--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




Re: [4.1.14] New test milestone released

2002-10-29 Thread Pier Fumagalli
On 29/10/02 22:46, Costin Manolache [EMAIL PROTECTED] wrote:
 Remy Maucherat wrote:
 
 A new test milestone of Tomcat 4.1 has just been released. Please help
 test this upcoming Tomcat release for compliance issues and other
 problems.
 
 Downloads:
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/
 
 Significant changes over 4.1.13 include a security manager bugfix. Over
 4.1.12, Tomcat 4.1.14 includes bugfixes as well as performance
 improvements.
 
 The full list of changes is available in the release notes.
 
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/RELEASE-NOTES
 
 One small issue: the .zip file doesn't have +x on the bin/ files.

Ehemm... Actually, the whole thing is completely wrong (I mean how the files
are on daedalus, not only what you said, Costin)...

_MAKE_SURE_ (this is _very_ important for mirrors, and I'm trying to enforce
it now that we're not _yet_ mirrored heavily) that your UMASK is set to 002
ZARRO ZARRO TO when putting stuff in /www, that _ALL_ the files you
create have a 664 mode (therefore when listing them, it needs to come out
with -rw-rw-r-- ...)

ALL directories need to be 755 (therefore only THOSE and NOT THE FILES need
to have the +x bit set) they need to look like drwxrwxr-x

If you don't have a clue of what I'm talking about, make sure you do man
chmod and man umask from your favorite Linux (HAHA!) box...

Seriously speaking, now, with the way in which the files for 4.1.14 are laid
out, they can't be moved, deleted, removed, updated, mirrored by anyone but
Remy (nah, probably right now with my config I can get them mirrored, but
anyhow, DON¹T DO IT)

Thankyou! :-)

Pier


--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org