If you have installed Windows and Ubuntu both using dual boot method, There might be one issue which is a real headache.
Read Only Filesystem Error for NTFS Drives.
When you try to remove any file, create any file or update anything in any directory of the NTFS partition in Ubuntu, it prevents you to do so. If you reboot your system into Windows and operate same operations there, it does not prevent you but rebooting again into Ubuntu, same issue is occurred again. This can be really frustrating.
Here are some of the solutions of this problem.
1. Never Hibernate, Sleep or Suspend of Windows system, if your primary system is Ubuntu. If you use Windows only for gaming purpose or create/update files in MS Office, it means your frequently use Ubuntu but for any rare work, you use windows. if this is the case then I would like to suggest you, do not susped or hibernate your windows system, this may be the reason of your read only file system error.
To fix it, Restart Windows properly and boot into Ubuntu system. The issue should not be there.
2. If reboot didn't solve your issue, you can use ntfsfix command in ubuntu system.
ntfsfix /dev/sdaX
where /dev/sdaX is your NTFS partition name, it can be /dev/sda2 or /dev/sda3
Find the device name of your partition and ntfsfix can solve the issue.
3. If ntfsfix is giving you error to run chkdsk command
Volume is Corrupt. You should run chkdsk
Boot into windows. Open CMD as an administrator and run
chkdsk C:
chkdsk E:
where C & E are the drives where you are getting ReadOnly Filesystem error in Ubuntu.
4. If you are always shutting down your windows properly, no hibernation, no suspension but still every now and then you are getting readOnly Filesystem error in NTFS partitions on Ubuntu, here is a fix for you.
By Default, windows Fast StartUp is enabled and this is kind of hibernation. this is the reason, your NTFS drives are giving read only error. To disable the option follow,
Settings > Power and Sleep > Advanced Settings > Option 'Choose what closing the lid does' or 'Choose what power button does'
> Click on 'Change settings that are currently unavailable' > Uncheck the checkbox 'Turn On Fast startUp (Recommended)'
Save the Settings.
Now you should not get ReadOnly Filesystem error again.