This script automatically grants write permissions for selected shares and users, after the root user logged into the WebGUI and removes it after 10800 seconds (3 hours) to protect the shares most of the time against ransomware attacks. Simply logout from the WebGUI and login again, to re-grant write permissions.   Installation: Install the "User Scripts" plugin from "Apps" Add a new script and paste the following script Set the schedule to "Custom" and the value