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

Ensure liblouis tables directory is writable by process user #111

Open
egli opened this issue Sep 13, 2021 · 0 comments
Open

Ensure liblouis tables directory is writable by process user #111

egli opened this issue Sep 13, 2021 · 0 comments

Comments

@egli
Copy link
Member

egli commented Sep 13, 2021

Currently daisyproducer2 runs as root, so this is not an issue. But in the old system the process was run as www-data so the tables directory needs to be writable by that user. If we change the user of daisyproducer2 we need to enhance the ansible install scripts to make sure the directory is writable. Something along the lines of the old system:

- name: ensure liblouis tables directory is writable by www-data
  file:
    path: /usr/local/share/liblouis/tables
    state: directory
    owner: root
    group: www-data
    mode: 02775 # new files should have the gid of the root directory
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

No branches or pull requests

1 participant