CDLUC3 / N2T

next-gen N2T resolver
MIT License
0 stars 2 forks source link

Enable read permission on `/var/log/unit/*` for ezid group #24

Closed datadavev closed 6 months ago

datadavev commented 6 months ago

Unitd for N2T is configured to write an access log to /var/log/unit/access.log.

This log file should be readable by the ezid user for diagnostic purposes (actually any of the unit logs should be readable by ezid). Task here is to set permissions so that existing and new (e.g. from log rotation) files are readable by the ezid user or group.

ashleygould commented 6 months ago

This permission is already incorporated in puppet managed logrotate configuration. When I provission n2t service, I will touch the access.log and chmod all unit logs so that ezid has read access at initial startup.