I believe that my USB drive has accidentally disconnected while the system was writing something on it, maybe the wire became faulty lately. All data seem to be fine, but everything is in read-only mode. Tried to change all files permissions with chmod but it doesn't work. So I unmounted it and tried this:
Code: Select all
rawyak@zenbook:~
$ sudo dosfsck -a /dev/sda1
fsck.fat 4.2 (2021-01-31)
Logical sector size is zero.