macOS: uninstall of ancient DVR version with error

Trying to remove a very old (2016) version of the DVR, but getting an error for the _HDHomeRun group deletion.

The install was copied over from a 2013 Intel Macbook Pro to a 2021 14" M1 Macbook Pro.

The uninstall script is run from the /Users/HDHomeRun directory.

This is the uninstall.log output:

(base) ➜  HDHomeRun less uninstall.log
+ /bin/launchctl unload /Library/LaunchDaemons/com.silicondust.dvr.plist
+ /bin/rm /Library/LaunchDaemons/com.silicondust.dvr.plist
+ /usr/bin/dscl . -delete /Groups/_HDHomeRun
+ /usr/bin/dscl . -delete /Users/_HDHomeRun
<main> delete status: eDSPermissionError
<dscl_cmd> DS Error: -14120 (eDSPermissionError)

Thanks for your help.

To answer my own question, this is a permissions issue on macOS.

I fixed it by giving iTerm disk access following the procedure outlined in this article: Fix Terminal “Operation not permitted” Error in macOS Monterey, Big Sur, Catalina, Mojave

This then allowed the 'dscl' command to delete the _HDHomeRun account. The corresponding folder in /Users was still there. I manually deleted it.

Note that this is not Channels DVR software, but SiliconDust DVR.

Glad you got it figured out.

1 Like

:man_facepalming:

Thanks for checking in.