Hello all,
After upgrading to v7.13 from v7.11 the script from dynu is not running with the following error: Couldn’t start task: cannot open file: permission denied
The same script was running the last 5 years without any issue, owner of script is admin with full permissions
We have the similar problem. The difference is that we have an external script which uploads reset.auto.rsc file. We upload file from a user with group full. This file contains:
/system backup save encryption=aes-sha256 password=XXXXXX name=rollback.backup
/system reset-configuration skip-backup=yes no-defaults=yes keep-users=yes run-after-reset=prebackup.rsc
And each line of this script fail with “script error: not enough permissions (9)” error. Our configuration synchronizer is broken. Is there a solution for our issue?
What I did when facing similar issues was to give the script all permissions (policies) and - when it worked - starting removing them one by one until the script stopped working to find which ones were needed.
I guess it can be defined “permissions brute-forcing”
The thing is something changed after the upgrade and Netwatch didn’t have the permissions anymore when calling fetch tool. My solution was to add “output=none” to my script that has a generic Discord webhook.