![]() |
[SOLVED] How do I delete a read-only folder ?
I tried extracting a .ipk dile using dpkg - X *source* / *destination* and then my device froze so I did a hard reboot taking the battery out etc. Now there's a folder in /MyDocs that contains a folder which is "read-only", so I can't delete it and when I try well I get the *name of dolder* is read-only and then all other files become read-only so I have to reboot to get them back to normal, my PC can't change the folder so I can delete it so does anyone know how I can? I believe the files inside are damaged also.
Thanks SOLUTION root umount /dev/mmcblk0p1 fsck.vfat -aw /dev/mmcblk0p1 reboot |
Re: How do I delete a read-only folder ?
if you have rootsh installed, just do:
sudo gainroot rm -rf /path/to/folder/you/want/to/delete And say bye bye folder |
Re: How do I delete a read-only folder ?
tried that, it says I don't have permission, read-only folder
strange isn't it |
Re: How do I delete a read-only folder ?
Really weird...
try: sudo gainroot chmod 777 /path/to/folder/you/want/to/delete rm -rf /path/to/folder/you/want/to/delete |
Re: How do I delete a read-only folder ?
what will the chmod 777 command do?
|
Re: How do I delete a read-only folder ?
Change foder's permission
|
Re: How do I delete a read-only folder ?
read this........
http://www.zzee.com/solutions/unix-permissions.shtml |
Re: How do I delete a read-only folder ?
so...? Do you still dont know what 777 means?
owner: read, write and execute permissions, group: read, write and execute permissions, others: read, write and execute permissions, Full access... |
Re: How do I delete a read-only folder ?
trying it now will let u kno
thanks :) |
Re: How do I delete a read-only folder ?
did u tried to delete it through a file manager for example mc midnight commander?
|
All times are GMT. The time now is 13:47. |
vBulletin® Version 3.8.8