Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stat permission denied error when when all files and folders have adequate permissions #196

Closed
sravanthnag opened this issue May 19, 2022 · 5 comments

Comments

@sravanthnag
Copy link

Which user is used to fire the stat command by this plugin ?

With root user, local user, I can stat the directory or file in Linux but from Grafana add datasource section, whenever I use save and test, I get the error that

stat : / : permission denied

I tried giving exact file name. Even then it gets into same error

stat : /sample.csv : permission denied

@SaradhiD
Copy link

Facing same issue with

stat /home/backup_log.csv: permission denied

@ZRunner
Copy link

ZRunner commented Mar 13, 2023

Same thing here. Any idea?

@d-k-bo
Copy link

d-k-bo commented Apr 4, 2023

In my case, it didn't work because I used a CSV which lived in /home. See https://github.com/fr-ser/grafana-sqlite-datasource/blob/master/docs/faq.md#i-have-a-permission-denied-error-for-my-database

@b5y
Copy link

b5y commented Apr 24, 2024

Thanks @d-k-bo ! Your solution perfectly works for me.

@gabor
Copy link
Contributor

gabor commented May 23, 2024

hi @sravanthnag, sorry, we cannot do much here, for some reason your operating system does not allow the grafana-server-process access to that file. the solution will be specific to your setup. i recommend checking the article linked in #196 (comment) too.

@gabor gabor closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

No branches or pull requests

6 participants