Difference between revisions of "EdgeOS Fix Set Failed"
Jump to navigation
Jump to search
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...") |
Michael.mast (talk | contribs) |
||
Line 2: | Line 2: | ||
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. | 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== | ==Quick Fix== | ||
+ | <ref>https://community.ui.com/questions/Change-config-by-scripts-locks-out-manual-config-Set-failed/a4917ef1-c4f0-47a3-9582-39a095b4b0a3</ref> | ||
<pre> | <pre> | ||
sudo bash -c 'chgrp -R vyattacfg /opt/vyatta/config/active/' | sudo bash -c 'chgrp -R vyattacfg /opt/vyatta/config/active/' | ||
</pre> | </pre> | ||
+ | |||
==Permanent Fix== | ==Permanent Fix== | ||
Add this to the end of your scripts. | Add this to the end of your scripts. |
Latest revision as of 07:29, 5 December 2019
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/