EdgeOS Fix Set Failed

From Michael's Information Zone
Revision as of 07:29, 5 December 2019 by Michael.mast (talk | contribs) (Created page with "==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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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/