2

I want to delete a tar.bz2 file from my pendrive. I tried shift+delete, but nothing happened. Then in terminal I tried sudo rm command, I got the following error -

rm: cannot remove `avi.tar.bz2': Read-only file system

I tried sudo chmod 777, but the output is -

chmod: changing permissions of `avi.tar.bz2': Read-only file system

I am not able to remove the tar.bz.2 file. Any help?

1 Answers1

1

you need to mount it in read write mode, since chmod is a write operation it will not work.

Check this instructions

Make Read items RW

Private
  • 3,934
  • 10
  • 34
  • 48
  • I could delete the tar.bz2 file using mount -o ... command suggseted by Danatela. Thank you soo much – user2315033 Jul 26 '13 at 08:40
  • @avinash, if you want to say something to me, you should answer below my comment and put @ sign before my name. Now RayOfCommand got your message :) – Danatela Jul 26 '13 at 08:46