[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-03-05 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #10 from Remy Maucherat --- (In reply to Andy Wilkinson from comment #3) > > Tomcat shouldn't be creating directories unless explicitly directed to do > > so. > > That seems a little arbitrary to apply that rule in this case.

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-03-05 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #8 from Mark Thomas --- There may be circumstances (e.g. when running under a security manager or due to file system permissions) where it will not be possible to create the directory even if the container tries to do so. This

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #7 from Andy Wilkinson --- > Because it can be set by the application and is not configured and/or managed > by Tomcat. That was a distinction that you did not make when you stated the following: > Tomcat shouldn't be creating

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #6 from Christopher Schultz --- (In reply to Konstantin Kolinko from comment #4) > I think the OP means the following: > If ${catalina.base}/temp directory does not exist, file upload fails. > > Unlike ${catalina.base}/work, the

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #5 from Christopher Schultz --- (In reply to Andy Wilkinson from comment #3) > > Tomcat shouldn't be creating directories unless explicitly directed to do > > so. > > That seems a little arbitrary to apply that rule in this case.

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #4 from Konstantin Kolinko --- I think the OP means the following: If ${catalina.base}/temp directory does not exist, file upload fails. Unlike ${catalina.base}/work, the "temp" directory is not created automatically at start

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #3 from Andy Wilkinson --- > Tomcat shouldn't be creating directories unless explicitly directed to do so. That seems a little arbitrary to apply that rule in this case. Tomcat already creates directories in several places. A few

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #2 from Remy Maucherat --- (In reply to Christopher Schultz from comment #1) > I'm a -1 on this unless it is a configurable option and disabled by default. > Tomcat shouldn't be creating directories unless explicitly directed to do

[Bug 63206] Try to create parent directories before writing an uploaded file to disk

2019-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63206 --- Comment #1 from Christopher Schultz --- I'm a -1 on this unless it is a configurable option and disabled by default. Tomcat shouldn't be creating directories unless explicitly directed to do so. -- You are receiving this mail because: