vyos@vyos# commit _add_log_entry: CRITICAL:[Errno 13] Permission denied: '/opt/vyatta/etc/config/archive/commits' vyos@vyos# ls -la /opt/vyatta/etc/config/archive/commits -rw-rw-r-- 1 root root 128 Aug 13 09:55 /opt/vyatta/etc/config/archive/commits
It seems like chgrp needs to be used recursively - https://github.com/vyos/vyos-1x/blob/6e7e7842bc1ba55bd4c91c3af35faf8961793318/src/helpers/vyos-config-encrypt.py#L141
Steps to reproduce:
encryption enable
configure
set system host-name vyos-1
compare [TAB]