EdgeOS Fix Set Failed

From Michael's Information Zone
Jump to navigation Jump to search

Problem

After a script is run (in my case VRRP scripts) I am unable to change the config. This is due to the running config being owned by another user (i.e. root) instead of the "sg" group.

Quick Fix

[1]

sudo bash -c 'chgrp -R vyattacfg /opt/vyatta/config/active/'

Permanent Fix

Add this to the end of your scripts.

chgrp -R vyattacfg /opt/vyatta/config/active/