command line - Unable to rename a file, delete, create a new folder, cut, paste in a volume neither by terminal nor by GUI - Ask Ubuntu


this question has answer here:

shubbh@tuxedo:/media/shubbh/new volume$ sudo rm resume.pdf abc.pdf rm: cannot remove 'resume.pdf': read-only file system rm: cannot remove 'abc.pdf': no such file or directory shubbh@tuxedo:/media/shubbh/new volume$ sudo mv resume.pdf songs mv: cannot move 'resume.pdf' 'songs/resume.pdf': read-only file system shubbh@tuxedo:/media/shubbh/new volume$ sudo mkdir mkdir: cannot create directory ‘a’: read-only file system 

try this:

open terminal,

press ctrl+alt+t

run it:

exec sudo -i fdisk -l 

fdisk report called partitions mounted in system.

suppose /media/shubbh/new volume /dev/sdc1

continue running

umount /media/shubbh/new\ volume fsck -y /dev/sdc1 mkdir /media/shubbh/new\ volume chmod -rf 777 /media/shubbh/new\ volume mount /dev/sdc1 /media/shubbh/new\ volume exit 

and try rename file, delete, create new folder, cut, paste in volume neither terminal


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User