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

Fix for /opt/librenms/cache ownership #414

Merged
merged 2 commits into from
Jan 28, 2024
Merged

Conversation

jcostom
Copy link
Contributor

@jcostom jcostom commented Dec 31, 2023

closes #262

Not a lot of wizardry here - I added a line to the Dockerfile to properly initialize the ownership of /opt/librenms/cache as librenms:librenms instead of nobody:nobody.

Thanks @undefinedid for pointing out from where the condition was arising.

I tested on my installation with no ill effects.

@CLAassistant
Copy link

CLAassistant commented Dec 31, 2023

CLA assistant check
All committers have signed the CLA.

@crazy-max
Copy link
Member

crazy-max commented Jan 1, 2024

It should be done in

chown -R librenms:librenms \

@jcostom
Copy link
Contributor Author

jcostom commented Jan 1, 2024

Fair enough - I pulled the line out of Dockerfile and moved the change to the script you mentioned. Thanks @crazy-max.

@Jellyfrog Jellyfrog merged commit 78ef9bd into librenms:master Jan 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Seemingly incorrect ownership on /opt/librenms/cache directory
4 participants