sbsdev / daisyproducer2

An integrated production management system for accessible media
GNU Affero General Public License v3.0
0 stars 0 forks source link

Ensure liblouis tables directory is writable by process user #111

Open egli opened 3 years ago

egli commented 3 years ago

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