Ospd-openvas github guide

Hi all,

I am following the github guide in order to install GVM.

In part “ospd-openvas”, I get error in command “python3 -m pip install --root=$INSTALL_DIR/ospd-openvas --no-warn-script-location .”
The error is “ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: ‘init.py’
Consider using the --user option or check the permissions.”

Adding “–user” at the end of the command seem to solve the issue.
My questions are:

  1. Is this the correct solution to this error?
  2. If yes, should I open a PR in github suggesting the change?

Thank you,
Ioannis

Hi,

Man pip and check your distribution documentation on python pip and permissions.

Hi, could it be possible that you are doing an update or reinstall? It is likely that at least some ospd-openvas files are already installed and pip is not able to override them.

No, it is a fresh new installation.

This topic was automatically closed after 90 days. New replies are no longer allowed.