Trying to push to a remote repository gives me the error:
error: unable to create temporary sha1 filename : Read-only file system
Funny enough, it worked perfectly fine for the push 30 minutes earlier. Another thing worth noting is that I’m the only one pushing/commiting/accessing this repository.
SSHing into my repository server trying to chown, chmod, copy, rename etc the repository, I keep getting the error Read-only file system. Listing the owner of the repository by using ls -ld my-repo.git yields:
drwxrwsr-x 7 my_user users 248 Jul 20 14:56 my-repo.git/
Looks proper, owned by me, right? I don’t understand why this is happening. Any suggestions on how to solve this extremely annoying problem would be highly appreciated!
your disk broke and the OS remounted it as readonly to save it. see /var/log/messages and the output of “mount” to confirm.