Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

asus sl101 slider running cyanogenmod 10

This problem actually started around when I upgraded to cm9.1 and I think I got an error that my android profile had changed or something. from that day forward I have been unable to delete anything in my downloads folder.

The following did not work

  • rm /sdcard/download/filename
  • removing with rootbrowser
  • adb shell> rm /sdcard/download/filename
  • remounting the sdcard

I get the error that the folder is read only and when I try to change permissions it wont let me.

I was able to

mv /sdcard/download /sdcard/download.back
mkdir /sdcard/download

but still cannot delete from the old download folder.

Eek!

share|improve this question
can you paste here the output of ls -ld /sdcard/download; mount | grep sdcard ? – sputnick Sep 30 '12 at 0:32
u0_a37@android:/ # ls -ld /sdcard/download; mount | grep sdcard drwxrwxr-x root sdcard_rw 2012-09-30 00:27 download /dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_ot‌​her 0 0 – Joshua Robison Sep 30 '12 at 1:59
is it possible that a program like titanium backup is somehow rotecting them even above root? – Joshua Robison Sep 30 '12 at 2:00
Did you try the full real path ? rm -rf /mnt/sdcard/download – sputnick Sep 30 '12 at 2:22
I just tried it now and got the error, "read-only file system" the trouble is, it's not true. other things on sdcard delete fine. – Joshua Robison Sep 30 '12 at 2:31
show 4 more comments

1 Answer

You have a special mount point* for /mnt/sdcard/download, so

  • umount it with umount /mnt/sdcard/download
  • remove the directory rm -rf /mnt/sdcard/download

And try to figure out what cause your Android to use this special mount.

If you just want read-write access, run this command : mount -o remount,rw /mnt/sdcard/download and then you will be able to rm anything inside.

*figured out by the discussions in your question thread

share|improve this answer
u0_a37@android:/ $ umount /mnt/sdcard/download failed: Invalid argument – Joshua Robison Sep 30 '12 at 3:00
1|u0_a37@android:/ # mount -o remount,rw /mnt/sdcard/download Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|u0_a37@android:/ # – Joshua Robison Sep 30 '12 at 3:00
i wonder if some parental software i installed a long while back or titanium backup or some software is causing this. but i deleted all the data and cache before flashing this rom. several times... – Joshua Robison Sep 30 '12 at 3:02
You should be root to do it – sputnick Sep 30 '12 at 3:05
sorry, copy pasted the wrong line. ----------------------- u0_a37@android:/ # umount /mnt/sdcard/download failed: Invalid argument – Joshua Robison Sep 30 '12 at 3:10
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.