You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/09/20 18:19:53 UTC

DO NOT REPLY [Bug 30832] - Loading resources from a .jar-file requires file-write permission if SecurityManager is installed

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30832>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30832

Loading resources from a .jar-file requires file-write permission if SecurityManager is installed

yoavs@computer.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From yoavs@computer.org  2004-09-20 16:19 -------
Tomcat requires that the user running the server has write permissions into the 
working directory.  This is true for running with and without a 
SecurityManager.  Other things will fail as well if you don't have this write 
permission.

That's why I'm marking this issue as invalid.

The suggestion to do the critical part as a PrivilegedAction is interesting and 
potentially good for other reasons, not just the reason mentioned in this 
Bugzilla issue.  If you submit a .diff patch with that code, I'll be glad to 
look at it and apply it.  Thanks ;)

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