Closed joshschmelzle closed 3 years ago
As it stands today, the wlanpi
user running the wlanpi-webui
service does not have permissions to remove the profiler
files. This is because the profiler
is run with elevated permissions.
We should not run the wlanpi-webui
with elevated permissions, and instead need to decouple the frontend from backend.
The idea I came up to help address the issue is to generate a purge script when the user navigates to http://<wlanpi>/profiler/purge
. This is a hidden feature, and was added in 34ade79
Example:
Add option to delete profiler results. This was requested by Jerry and Eddie.