Keychain fills with 500k login.keychain.sb files filling drive ... revisited
Hi
Spotted this issue recently on 2 iMac recently upgraded to ventura. It transpires that for some reason the login keychain (and metadata keychain) got set to read only.
To check this, in terminal, type
sudo ls -la ~/Library/Keychains/login.keychain-db
if the start of the line responded is r--r--r--@ (i.e. not starting rw-) then the following should fix it
sudo chmod 644 ~/Library/Keychains/login.keychain-db
following this the check should show rw-r--r--@ ... the @ may not be there.
same for the metadata keychain if this is an issue
That sorts the issue, but doesn't explain why it happened.
To clean the spurious data..
sudo rm -f ~/Library/Keychains/login.keychain-db.*
if it complains too many files, then you'll need to repeat, adding another character before the *. sequentially, 0-9 then a-f.
Hope this help
John
iMac (2017 – 2020)