Execute Python script as a root in Ubuntu, "id | grep "uid=0" >/dev/null" throws an error
I am trying to build a test package for a Synology DSM using their toolkit and one of the steps requires to execute a Python script. When I execute it an exception is thrown: /pkgscripts-ng/include/check: line 93: /dev/null: Permission denied…