View Single Post
Posts: 2 | Thanked: 5 times | Joined on Apr 2010 @ UK
#39
Originally Posted by gaffa View Post
hi everyone
i had downloaded some videos through torrent using transmission but all the videos are "read-only" files and cannot be deleted. They are in the downloads folder and i cant get rid of them.
Will this index method work?
ive tried the gainroot method but it doesnt seem to work and says unable to rmdir downloads...
any help will be much appreciated thank you in advance.
Hi gaffa

I had the same issue, with transmission, after it crashed the
/home/user/MyDocs folder became readonly, and I could not
delete the torrents and or save any pictures.


This is what I did :


1) From xterm I signed in as root and remounted the filesystem in
/home/user/MyDocs as read and write.

Code:
     mount -o remount,rw  /home/user/MyDocs
2) I deleted the torrents

Code:
    rm -rf  /home/user/MyDocs/Downloads/files.torrent*
3)Checked what device was mounted /home/user/MyDocs under

Code:
   Nokia-N900-42-11:~# df -h

   /dev/mmcblk0p1   27.0G  1.3G 25.7G  5% /home/user/MyDocs
4) And runed fsck.vfat to clear filesystem inconsistencies on the
device reported /dev/mmcblk0p1

a) I unmounted filesystem first *****that is very important

Code:
Nokia-N900-42-11:~# umount /home/user/MyDocs/
b) Then fsck.vfat /dev/mmcblk0p1
Code:
Nokia-N900-42-11:~# fsck.vfat /dev/mmcblk0p1
dosfsck 3.0.1, 23 Nov 2008, FAT32, LFN
alleged total clusters: 442377
4424
8848
13272
17696
checked clusters: 21510
/dev/mmcblk0p1: 1797 files, 21510/442377 clusters
Nokia-N900-42-11:~#
I had to run fsck.vfat a few times until it came up clear v

5) I rebooted the n900 and all was OK.

Last edited by nuke; 2010-04-13 at 16:47.
 

The Following 3 Users Say Thank You to nuke For This Useful Post: