The environments file says:
# event handler scripts are executed with privileges of this user
INSANED_USER=andreas
INSANED_GROUP=andreas
but they are not.
I have set INSANED_USER and INSANED_GROUP as above and I have a dummy event handler "copy" in place and it only contains this for testing:
#!/bin/bash
echo "Running as $(whoami)" >/tmp/copy.log
When pressing the copy button at the scanner the log file contains:
Running as root
Shouldn't this be "andreas"? I looked through the code but it does not seem, that INSANED_USER or INSANED_GROUP is picked up anywhere.
System: Linux Mint 19 Cinnamon