You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CSRF directory needs to be writeable for creating the csrf-secret.php file #5194
During the installation the installer tells you to make the CSRF path read-only after the installation finished. It does not tell where it is or provide an example for how to set the write permissions.
The installation completes regardless of the setting but it causes a lot of permission error logging in the cacti log.
Also the csrf-secret.php file can be access directly, exposing the secret to the web. It should be hidden and not returning the plain secret.
To Reproduce
Install a fresh Cacti
Expected behavior
Either show example commands or move the csfr-secret.php somewhere where it can be written/created.
Screenshots
Desktop (please complete the following information)
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information)
@netniV, assigned this to you. I think at least in the example we should show the vendor directory, without much explanation as a directory that only requires write for install. This is a one line change. We can do something glorious (aka different) in 1.3.
Activity
TheWitness commentedon Jan 26, 2023
@netniV, assigned this to you. I think at least in the example we should show the vendor directory, without much explanation as a directory that only requires write for install. This is a one line change. We can do something glorious (aka different) in 1.3.
TheWitness commentedon Feb 5, 2023
Changing the assignment here since we have a little more time before release.
Fixing #5194 - CSRF Read/Write