1
24.1 Legacy Series / error generating template OPNsense/Rspamd when I press apply
« on: May 13, 2024, 09:16:29 am »
Hi, when I want to apply a change to the RSPAMD settings and press the "Apply" button, the following message pops up.
error generating template OPNsense/Rspamd : Traceback (most recent call last): File "/usr/local/opnsense/service/modules/template.py", line 328, in generate for filename in self._generate(template_name, create_directory): File "/usr/local/opnsense/service/modules/template.py", line 273, in _generate f_out = codecs.open(filename, 'wb', encoding="utf-8") File "/usr/local/lib/python3.9/codecs.py", line 905, in open file = builtins.open(filename, mode, buffering) PermissionError: [Errno 1] Operation not permitted: '//usr/local/etc/rspamd/local.d/dkim_signing.conf'
The permissions of the /usr/local/etc/rspamd/local.d/dkim_signing.conf file is -r--r--r-- and cannot be changed (operation not allowed). Other files in the directory have the permission -rw-r--r--r--.
error generating template OPNsense/Rspamd : Traceback (most recent call last): File "/usr/local/opnsense/service/modules/template.py", line 328, in generate for filename in self._generate(template_name, create_directory): File "/usr/local/opnsense/service/modules/template.py", line 273, in _generate f_out = codecs.open(filename, 'wb', encoding="utf-8") File "/usr/local/lib/python3.9/codecs.py", line 905, in open file = builtins.open(filename, mode, buffering) PermissionError: [Errno 1] Operation not permitted: '//usr/local/etc/rspamd/local.d/dkim_signing.conf'
The permissions of the /usr/local/etc/rspamd/local.d/dkim_signing.conf file is -r--r--r-- and cannot be changed (operation not allowed). Other files in the directory have the permission -rw-r--r--r--.