I tried to remove two files from the system and then put them back. However since I put them back my Superdrive is not working. Files are
IOCDStorageFamily.kext and IODVDStorageFamily.kext
My assumption is that the problem is the xattr.
When I try to run the following command and add an xattr like the other files around:
sudo xattr -wx com.apple.rootless "`cat ~/Desktop/attribute`" IOCDStorageFamily.kext
I am getting:
xattr: [Errno 1] Operation not permitted: 'IOCDStorageFamily.kext'
Everybody says it is the SIP, but I have disabled SIP csrutil status:
System Integrity Protection status: disabled.
When I run ls -lO we see two files that I care about
drwxr-xr-x 3 mh wheel - 102 Dec 19 21:07 IOCDStorageFamily.kext
drwxr-xr-x 3 root wheel restricted 102 Dec 19 21:11 IODVDStorageFamily.kext
drwxr-xr-x@ 3 root wheel restricted 102 Jul 16 2017 IOFireWireAVC.kext
File 1: I tried to make it with my user. no help. also I tried to remove "restricted" but that also didn't work.
File 2: Remained intact. Still can't edit xattr
File 3: Another file that is okay in its original form.
Help would be appreciated
(iMac 20" Early 2008, High Sierra)