sudo with user id

I was trying to use the Nextcloud utility script occ , but it refused to run as I invoked it: $ ./occ Console has to be executed with the user that owns the file config/config.php Current user id: 1000 Owner id of config.php: 33 Try adding 'sudo -u #33' to the beginning of the command (without the single quotes) I tried to just do as they said, so I changed my call to use the user id that owns…