Assuming this is alertmanager, per your other message, you can use  
--storage.path to pick a different directory, which your user does have 
permission to.

It seems this is not mentioned in the documentation.

Bryan

On Wednesday 3 January 2024 at 20:43:34 UTC [email protected] wrote:

> msg="Unable to create data directory" err="mkdir data/: permission denied"
> what can i do?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/1fb05461-5f8d-4db5-b72c-4955a5613b67n%40googlegroups.com.

Reply via email to