Script Error not enough permissions (9)

I’m trying to run a script this script:

/port remove [find inactive];
/port set numbers=1 name=test

and I get this error:

Script Error not enough permissions (9)

I’m the admin of the router , have all the permissions

NAME GROUP ADDRESS LAST-LOGGED-IN

0 ;;; system default user
admin full jul/23/2014 13:41:42



2 name=“full” policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,
password,web,sniff,sensitive,api

I’m using RB411 V6.10

Thanks ,

First of all, disable the console/service using that port!

no one is using the inactive port , that why I want to remove it.
but I took what you said and put delay between the commands and now it working.

/port remove [find inactive];
delay 2;
/port set numbers=1 name=test;

so this is O.K. , right?

If is working, yes :astonished:

Thanks ,