Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Write permission issue in docker when saving config #159

Open
cwjackso opened this issue Apr 18, 2020 · 7 comments
Open

Write permission issue in docker when saving config #159

cwjackso opened this issue Apr 18, 2020 · 7 comments

Comments

@cwjackso
Copy link

Describe the bug
When saving config through the web UI I get a permission error

To Reproduce
Steps to reproduce the behavior:

  1. Go to web ui
  2. Click on settings
  3. Click on update
  4. See following error

Screenshot_20200418-193740

Expected behavior
Config is saved

@cedricve
Copy link
Member

cedricve commented Apr 18, 2020 via email

@cwjackso
Copy link
Author

cwjackso commented Apr 18, 2020 via email

@cedricve
Copy link
Member

thanks for reporting, I will have a look.

@cedricve
Copy link
Member

@cwjackso can you share the docker command you are running?

@cedricve
Copy link
Member

additionally can you show the permissions of the folder you are mounting?

@cedricve
Copy link
Member

hmm, make sure your permissions are set correctly. I was able to simulate the error if I set file permissions to 755.

Please set them to 777 to make it work.

Screenshot 2020-04-18 at 21 59 36

@cwjackso
Copy link
Author

I have updated to the latest version and this didn't change anything.

Setting 777 permission on the config directory (mounted as a volume via docker compose) has fixed the issue.

Not sure why specifically the config volume needs this though as the logs and capture files all write fine without it, and with the old docker image I never needed had that level of permission.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants