Have just installed Surcata version 7.0.5 RELEASE
On Mint Linux version = Linux hostname 5.15.0-112-generic #122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Followed the installation guide for Ubuntu to install using ‘apt’
Configured and running using a ‘suricata’ user created for the purpose, looks to be running fine.
When I run suricata-update it errors out with permissions denied to a temp file under /tmp
I can see from the listing that a temporary folder is created under /tmp while suricata-update is running, however the name of that folder does not match the folder it is looking for.
The error is as follows
20/6/2024 -- 11:40:59 - <Info> -- Writing /var/lib/suricata/rules/classification.config
20/6/2024 -- 11:40:59 - <Info> -- Testing with suricata -T.
20/6/2024 -- 11:40:59 - <Error> -- Error opening file: "/tmp/tmp2ylle1hf/fast.log": Permission denied
20/6/2024 -- 11:40:59 - <Error> -- output module "fast": setup failed
20/6/2024 -- 11:40:59 - <Error> -- Suricata test failed, aborting.
20/6/2024 -- 11:40:59 - <Error> -- Restoring previous rules.
The folder created, then deleted, in /tmp is called
drwx------ 3 root root 4096 Jun 20 11:40 tmpdccmw1x2suricata-update/
The folder is created and removed to quickly for me to see what, if anything, is in it
Any suggestions or help would be appreciated