chmod 777 -R /mnt rm -rf /mnt/* rm: cannot remove 'omitted': Read-only file system rm: cannot remove 'omitted': Read-only file system
Please show me how I can do this?
As the error message says: the filesystem on which
You can check the mount point of the filesystem by running
You can remount the filesystem as read-write by running
However it would be a good idea to find out why the filesystem was mounted as read-only in the first place. This may be an indication that you should not be deleting those files.
Note that your command attempts to remove the mount point itself, but this is harmless you won't have permission to do it anyway.
By the way, I strongly urge you not to use
You have a device mounted in /mnt/... that is read only
try to umount every folder in /mnt and then try again.
a CD mounted here would cause this problem but are you root?