aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-06-28 22:46:06 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-06-28 22:56:17 -0700
commitca7bfc9c485c959fad2aee1f7c1dbc0fb484553b (patch)
tree764772ea30a12e9cda3ee2a8528fcf6462233ace /Bugzilla/DB
parentBug 1301887 - File::Slurp triggers warnings on perl 5.24 and it is recommende... (diff)
downloadbugzilla-ca7bfc9c485c959fad2aee1f7c1dbc0fb484553b.tar.gz
bugzilla-ca7bfc9c485c959fad2aee1f7c1dbc0fb484553b.tar.bz2
bugzilla-ca7bfc9c485c959fad2aee1f7c1dbc0fb484553b.zip
Match file_write permissions.
text_write was introduced for bug 1301887 per commit df4677439d7b3658e2d896ffaab903b01c2e2fe6, but had slightly different semantics than the original File::Slurp file_write function. Specifically, file_write applied the umask for new files, while text_write is based on File::Temp and uses 0600 for new files. Add a permission grant so that new files respect the umask instead. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'Bugzilla/DB')
0 files changed, 0 insertions, 0 deletions