Page 1 of 1

Weird Problem

Posted: Thu Jul 08, 2004 4:56 am
by fivenetwork
We use a very basic script to backup our configs.

/export file=test;/tool e-mail send file=test to=abc@xyz.com subject=TestBackup;


We have about 30 odd Mikrotik depoyed in various locations for various purposes. The above script works in almost all locations but on some routers it fails with the error message "Not Enough Permitions".

The very same OS version works fine with this script in other places. This error occurs only in few installations.

Any idea whats going on?

Posted: Thu Jul 08, 2004 12:32 pm
by edzix
you should chech under '/user' menu and set the necessary permissions for users/groups (whis are logged in while the script is executed).

Edgars

Posted: Sat Jul 10, 2004 5:53 am
by fivenetwork
Yeah. thats the first thing we thought of.

All scripts are ALWAYS created by the user 'admin'. admin has full rights.

Now what?

Posted: Sat Jul 10, 2004 10:38 am
by Bill
Check to make sure the User executing the script has sufficient rights to do so. It may be created by Admin, but someone else may be set to run it in those problem locations.

Posted: Sat Jul 10, 2004 3:03 pm
by fivenetwork
Nopes. Done that too. admin is the one set to execute those scripts.

Posted: Sat Jul 10, 2004 4:28 pm
by lastguru
If the script is created under /system script , check if it has the correct policy.

Posted: Mon Jul 12, 2004 12:26 pm
by fivenetwork
script is created under /sys script and it has ALL policys enabled.

Posted: Mon Jul 12, 2004 12:28 pm
by edzix
make a supoutput file on one of these routers and send to support@mikrotik.com

Edgars

Posted: Mon Jul 19, 2004 1:14 pm
by fivenetwork
Now this is real interesting.

I recreated , not copied, the exact script but with a different name and that works!