Skip to content

Instantly share code, notes, and snippets.

@DOSputin
Last active April 14, 2021 07:14
Show Gist options
  • Save DOSputin/6436cd78226c621ea6c06883b8c82ac2 to your computer and use it in GitHub Desktop.
Save DOSputin/6436cd78226c621ea6c06883b8c82ac2 to your computer and use it in GitHub Desktop.
Disable facetime HD cameral Mac OS

Turn Off Rootless System Integrity Protection:

$ csrutil disable

Disable Camera:

all commands performaed as sudo

$ chmod a-r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC

$ chmod a-r /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBVDCDigitizer

$ chmod a-r /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

$ chmod a-r /Library/CoreMediaIO/Plug-Ins/FCP-DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

Enable Camera:

$ chmod a+r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC

$ chmod a+r /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions/A/Resources/AVC.plugin/Contents/MacOS/AVC

$ chmod a+r /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBVDCDigitizer

$ chmod a+r /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

$ chmod a+r /Library/CoreMediaIO/Plug-Ins/FCP-DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera

Turn On Rootless System Integrity Protection:

$ csrutil enable; reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment