On Fri, Mar 31, 2017 at 10:04 AM, Nick Kew <n...@apache.org> wrote: > >> On 30 Mar 2017, at 15:59, William A Rowe Jr <wr...@rowe-clan.net> wrote: >> >> I'd suggest we treat it as a bug, change the behavior accordingly in 1.6.0, >> and @bug the API to indicate the old vs new behavior. Thoughts? > > On reflection, +1 to all that.
The only objection I've considered is that the application of the perms outside of the file create call will cost an additional syscall, it's slightly less efficient. It probably makes the most sense to simply re-apply the chmod again without testing to determine whether the file had existed or not. Others thoughts?