Given the two scripts created by:
Code: Select all
/system script
add name=first owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
"/system script run second"
add name=second owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
":log info \"two ran\""
Compare this with the scripts created by:
Code: Select all
/system script
add name=third owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
"/system script run fourth"
add name=fourth owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
":log info \"fourth ran\""
I would love to know how Romon is related to a script running another script? Is this indeed a bug?
EDIT: I did check the documentation at https://wiki.mikrotik.com/wiki/Manual:Scripting, and followed the link provided to https://wiki.mikrotik.com/wiki/Manual:R ... Properties where I note there is no actual entry for romon to describe it's purpose here.
EDIT2: Turns out it's not romon-specific, it's just that the permission level of the parent script must be higher or equal to that of the child, however I still argue it's still an undocumented anomaly and has caused me a week of headaches.