Reply
Thread Tools
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#1
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
__________________
Trini 2 D' Bone

I miss my N900
Hello DELL Venue Pro Mango
Listen to my music >>> www.reverbnation.com/rrule

TRINIDAD & TOBAGO

Last edited by RenaldoTT; 2010-11-01 at 15:27.
 

The Following 2 Users Say Thank You to RenaldoTT For This Useful Post:
Posts: 63 | Thanked: 29 times | Joined on May 2010
#2
if you have rootsh installed, just do:

sudo gainroot
rm -rf /path/to/folder/you/want/to/delete

And say bye bye folder
 

The Following User Says Thank You to joelteixeira For This Useful Post:
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#3
tried that, it says I don't have permission, read-only folder

strange isn't it
__________________
Trini 2 D' Bone

I miss my N900
Hello DELL Venue Pro Mango
Listen to my music >>> www.reverbnation.com/rrule

TRINIDAD & TOBAGO
 
Posts: 63 | Thanked: 29 times | Joined on May 2010
#4
Really weird...

try:

sudo gainroot
chmod 777 /path/to/folder/you/want/to/delete
rm -rf /path/to/folder/you/want/to/delete
 
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#5
what will the chmod 777 command do?
__________________
Trini 2 D' Bone

I miss my N900
Hello DELL Venue Pro Mango
Listen to my music >>> www.reverbnation.com/rrule

TRINIDAD & TOBAGO
 
Posts: 63 | Thanked: 29 times | Joined on May 2010
#6
Change foder's permission
 
kinggo's Avatar
Posts: 943 | Thanked: 3,228 times | Joined on Jun 2010 @ Zagreb
#7
 

The Following User Says Thank You to kinggo For This Useful Post:
Posts: 63 | Thanked: 29 times | Joined on May 2010
#8
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...
 
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#9
trying it now will let u kno
thanks
__________________
Trini 2 D' Bone

I miss my N900
Hello DELL Venue Pro Mango
Listen to my music >>> www.reverbnation.com/rrule

TRINIDAD & TOBAGO
 
Ali's Avatar
Posts: 248 | Thanked: 51 times | Joined on Jan 2010 @ Amsterdam
#10
did u tried to delete it through a file manager for example mc midnight commander?
 

The Following User Says Thank You to Ali For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:03.