Hacker News new | ask | show | jobs
by a1k0n 2380 days ago
after updating to Catalina I was suddenly unable to edit my own ~/.ssh/config. I still can't figure out why not. I could rename it and make a copy, though, and the old one shows this:

-rw-r--r--@ 1 aaaaaaa staff 2571 Sep 15 2017 config~

com.apple.finder.copy.source.checksum#N 4

com.apple.metadata:_kTimeMachineNewestSnapshot 50

com.apple.metadata:_kTimeMachineOldestSnapshot 50

that file remains read-only to me. what is going on?

2 comments

It doesn't say "config" above, it says "config~".

Isn't that like a Vim backup file? Or that's the copy you renamed?

I think that's an emacs backup file. Does Vim also use the <filename>~ format too?
i mv'd config to config~, then made a copy of it as config. the old file, now renamed to config~, is still read-only.
Dumb question, of course, but you're logged in as aaaaaaa, right? That's what whoami returns?
yes yes, it is owned by me. i edited my username in the "screenshot".