Suddenly all of my contents residing on external hard disk has changed to read-only mode. Even though I am using Linux, I don't know how a virus have done this. I tried using "chmod", but still I am not able to change permission. So Now I can only read and copy files in/out it. But I cant delete anything.Please suggest me some way.
|
feedback
|
migrated from stackoverflow.com Jan 10 at 22:27
This question came from our site for professional and enthusiast programmers.
|
Try usind super user to change permissions
This will recursively (therefor the "-R") set 755 permissions fo the specified path. If you want full permisisons set to 777 | |||
|
feedback
|
|
You need to run chmod from an account that does have permission to make these changes; your account might have permission using the sudo command, but if you don't know if it does, it probably doesn't. | |||
|
feedback
|
|
Hard to know your situation with so few details. Are you root? If not, do you have root access? When you tried CHMOD, did you get an error? Try if that doesn't work, try | |||
|
feedback
|
|
It would helpful to know exactly what, if any, error message you see when you try to Since this is an external mount, it is possible that it has been mounted read-only. In that case, In any case, I advise against doing a | |||
|
feedback
|