Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

data_dir permissions do not get set if gid is not specified in config.exs #13

Open
mobileoverlord opened this issue Sep 18, 2018 · 1 comment

Comments

@mobileoverlord
Copy link
Contributor

I believe our intention was to allow the uid and gid to be omitted from the configuration options which falls though to searching for a kiosk user and group. Unfortunately, this does not work for the way we are setting permissions on the data_dir here https://github.com/fhunleth/webengine_kiosk/blob/master/lib/webengine_kiosk.ex#L174

This is because the check for kiosk user / group happens later. We either need to make the check happen in elixir, or make the c code responsible for setting the permissions.

@fhunleth
Copy link
Collaborator

+1 for doing the check in Elixir.

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