cms-sw/cmssw — pull request #4881 by diguida (2014-08-05 16:04:49+00:00)
Title: Fix file creations and permissions for DQM histograms encoded with ProtocolBuffer: second round

Another iteration of the review of file permissions in online DQM, after #4876:
* Do not set `umask` when running DQM modules: this should be set upstream in the process environment;
* in `DQMFileSaver`, save files containing DQM MonitorElement encoded with `ProtocolBuffer` by setting permissions to `0664`: this allows for testing/debugging purposes (files are accessible by all users), and for correctly handling files in DAQ2 (while in the same step, files are handled by the same user, when moved in the data flow chain, files should be handled by users in the same group);
* in `fastHadd`, save files merged and encoded with `ProtocolBuffer` by setting permissions to `0664`: see comment above.
Thanks @rovere for the useful comments, and @smorovic for the discussion on DAQ2 services, and @danduggan for signing again ;-)