Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[debops.rsyslog] Fix setting perimssions on /var/log
The command to update directory and file permissions only changed the permissions on /var/log if the group was not correct. If the group was correct but the permissions were wrong, the permissions were not fixed. As the group for /var/log is already fixed when creating the the system group, the permissions stayed wrong. This is fixed by adding an independent check for the permissions and fixing them if they don't match.
- Loading branch information