alhudz commented on PR #473:
URL: 
https://github.com/apache/commons-fileupload/pull/473#issuecomment-4601745897

   Added a unit test in DeferrableOutputStreamTest that asserts the persisted 
temp file comes out rw------- on POSIX (skipped elsewhere via assumeTrue).
   
   While writing it I noticed the original createFile approach broke when the 
supplied path already existed, so I switched persist() to open the file through 
a byte channel with the posix attribute set, which applies the mode atomically 
at creation and stays behaviorally equivalent to the old newOutputStream call.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to