I am trying to manually modify preferences file located at
/Library/Preferences/SystemConfiguration/preferences.plist
To modify it, I need to give it read&write
permission. I did that. The problem is that the file is in a folder, for which I cannot change permission (I am admin and I have no access), nor do I want to change permissions to the whole folder for security reasons. I only want to change it for preferences.plist file. How can I achieve this?
These are the pop-ups I get when trying to modify it.
Upon modifying permissions to parent folder I get this:
Best Answer
To allow user_name writing to preferences.plist add an ACL with:
This changes the output of:
to:
but doesn't change the permissions of the superior folder or other files residing in the same folder:
To remove the ACL later simply enter: