If you look at the output of thedmesg
command, you may see that at some point the filesystem got re-mounted as read-only, following an error. I have seen this happen following a temporary drop in the power supply voltage. Rebooting should fix it, however if it is indeed an issue with the power supply, and it happens frequently enough, you may find that after reboot the same issue repeats