I want to change a file in /System/Library/Input Methods/PressAndHold.app/Contents/Resources/
, but even after disabling csrutil
in recovery mode, I still get this flags with -ls -lO <filename>
:
-rw-r--r-- 1 root wheel restricted, compressed 6365 23 Aug 03:55 Keyboard-de.plist
UPDATE: I just figured out that I can change the ownership, so I should be able to cp
and rm
the file I want to change.
Still, when I am opening the file with TextEdit, I can't do anything, but I think this should be possible too.
EDIT: To check if SIP is still on, type csrutil status
in the terminal. With SIP on it's impossible to change those files as any user.
sudo nano
worked just fine. Thanks for all the help!
sudo
? – nohillside Oct 04 '15 at 10:42sudo open Keyboard-de.plist
I can't change anything. – Zin Oct 04 '15 at 10:44sudo nano Keyboard-de.plist
– nohillside Oct 04 '15 at 10:47sudo touch /usr/bin/crazy-name-which-doesnt-exist
. If this fails, SIP is still active – nohillside Oct 04 '15 at 10:49I believe I should enable this SIP again, righty?
– Zin Oct 04 '15 at 10:52