Please help: gvm-setup on a Kali 2023.1 permission problem

Hi @all,

to better understand my problem, here are the steps I took:

  • At I downloaded the pre-build Kali2023.1 for VirtualBox
  • Imported the machine into VirtualBox
  • Executed the following commands in the terminal:
    sudo apt update
    sudo apt install openvas
    sudo gvm-setup

during setup I get the following error message:
[>] Starting PostgreSQL service
[>] Creating GVM’s certificate files
[>] Creating PostgreSQL database
could not change directory to “/home/kali”: Permission denied

As a result, there are no scan templates available after the setup.

Who can help me? Thanks a lot!