On my Mac, Safari can't seem to remember any of my activity between sessions. This isn't a problem within a session, but as soon as I close the app with ⌘+Q, Safari seems to forget everything I've ever done. Most notably:
- My browsing history disappears.
- My bookmarks reset to how they were before the session started.
- Edits to my start page are undone.
Weirdly, and probably relatedly, I'm also unable to change per-site pop-up permissions; every time click "Allow", the dropdown immediately toggles back to "Block and Notify".
Why is Safari behaving so strangely? How can I fix it?
-
2This description fits Safari behaviour when always browse privately is turned on (Safari > Settings > General > "Safari opens with" > "A new private window".)Aivar Paalberg– Aivar Paalberg2025年12月04日 08:24:29 +00:00Commented yesterday
-
@AivarPaalberg I'd agree. You should write this as an answer.benwiggy– benwiggy2025年12月04日 12:36:41 +00:00Commented yesterday
-
@AivarPaalberg That wasn’t true in my case, but that would also fit. I agree that you should write an answer.Anerdw– Anerdw2025年12月04日 13:23:59 +00:00Commented yesterday
1 Answer 1
You may have lost write privileges on your own home directory. If this is the case, Safari will no longer be able to write to ~/Library/Safari, so it won't be able edit your browsing history (History.db), bookmarks (Bookmarks.plist), per-site preferences (PerSitePreferences.db), or anything like that. As such, it'll only remember your changes as long as they remain in RAM (that is, within the session); as soon as you quit the app, they'll be lost.
You can test this using the touch command. Open a new terminal window and try the following:
touch ~/Documents/test.txt
If it fails and asks you to run as a superuser, you've lost write privileges on ~. You should be able to fix this by repairing disk permissions:
diskutil resetUserPermissions / $(id -u)
You must log in to answer this question.
Explore related questions
See similar questions with these tags.