Benches macOS

4

Could not write domain

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello,

I closed the terminal window that I entered the command into but from what I recall I typed:

chmod 444

I may have put in ~/Library/Preferences or I may not have, I did push enter before finishing the line though

Now when I try to set it back to not showing hidden files I get this:

defaults write com.apple.finder AppleShowAllFiles 0

2009-04-17 13:46:10.507 defaults[8422:10b] Could not write domain com.apple.finder; exiting

**

To add to the description, if it helps to clarify what I have done, Office Word Autorecovery will not work and MultiClutch can not be found in the preferences pane and StuffIt gives an error of permission. I am logged in as the administrator. Any help would be greatly appreciated,

I've tried this command;

canadas-macbook:~ Canada$ sudo chmod 644 ~/Library/Preferences/com.apple.finder.plist

Password:

canadas-macbook:~ Canada$ defaults write com.apple.finder AppleShowAllFiles 0

2009-04-17 15:25:04.938 defaults[9674:10b] Could not write domain com.apple.finder; exiting

canadas-macbook:~ Canada$ sudo chmod 644 ~/Library/Preferences/com.apple.finder.plist

canadas-macbook:~ Canada$ defaults write com.apple.finder AppleShowAllFiles 0

2009-04-17 15:26:05.932 defaults[9685:10b] Could not write domain com.apple.finder; exiting

canadas-macbook:~ Canada$

*

Is it possible that I've made read only the entire library or preferences folder? Done something that would relieve the admin of admin powers even if the login was still logged in?

If anyone knows where I may have gone wrong and how I may remedy it, please let me know. Thanks very much in advance,

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    Niel

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Run the following:

    chmod 755 ~/Library/Preferences/

    (42674)

  2. 0

    westfan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Niel hope you're still there. Thanks for the reply, this is what came up;

    canadas-macbook:~ Canada$ chmod 755 ~/Library/Preferences

    chmod: /Users/Canada/Library/Preferences: Permission denied

  3. 0

    Niel

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Preface the command with sudo and run it again. In addition, run:

    sudo chown $UID ~/Library/Preferences

    (42698)

  4. 0

    westfan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hey Niel,

    I tried this sudo chmod 700 ~/Library

    And it worked out so far,

    Thanks for your replies!