I'm not entirely sure this poses a threat, but as I understand general security directives state not to give the executing user of a service write access to its config files and binaries. Yet after installing the package the whole config directory as well as all included files are owned by asterisk user and group as well as in mode 0640 (which I suppose is a good decision for some files at least, talking about not being world-readable). So, to improve security this probably has to be changed to root:asterisk with mode 0640 (where necessary), or am I getting stuff wrong here?
Hi Drexl, Quoting Drexl Johannes (2022-01-20 15:41:40) That sounds sensible to me - superficially, I am unaware if some subtle detail in Asterisk require special handling here. An obvious next step might be to try make the suggested change and see if it still seems to work the same. Did you try that already, Drexl? If not, can I ask you to try it? Kind regards, - Jonas
Am Donnerstag, dem 20.01.2022 um 16:17 +0100 schrieb Jonas Smedegaard: Hi Jonas, will do internally when I'm finding the time for it, but in a first glance it seems only two files need being private (app_mysql.conf and I think the extensions.conf), and probably none being written. Like said, will do. Thanks a lot in the meantime. Kind regards, Jo
Quoting Johannes Drexl (2022-01-24 16:44:19) Sounds excellent - there is no hurry from my side :-) - Jonas