I have been using fedora 35. It was running fine until today when I was going to edit some files but it could not be saved. All file has become read-only. I made a reboot which changed nothing. Upon attemting for up-gradation by
sudo dnf upgrade --refresh , it is showing the following error.
Config error: [Errno 30] Read-only file system: '/var/log/dnf.log': '/var/log/dnf.log'