Hello
Is there any program that can change permissions of the internal/external sd card?
I am a rooted user with root explorer and can change the permissions of all other files except the ones of the two storage cards...
Anyone has a clue about this?
tnx
If you're talking about /sdcard/, the reason is that the permission mechanism in linux/android is implemented by the filesystem. The /sdcard/ filesystem is a windows filesystem (FAT or NTFS, I think FAT). This filesystem does not support UNIX-style permissions like the other filesystems on your phone (ext2/3/4, squashfs,...).
I am having a problem where suddenly none of the Apps on my phone can write to the SD card, what is the solution for the permissions problem? I can read from it ok and both read and write when it is in my computer.
Did you sort this? I'm having a similar issue, can't write to my SD card..
I get this error message when I try to change permissions: "sdcard permissions cannot be changed because the file system is read-only."
All good. Re-formatted my SD card (FAT32).. fixed the problem.
Sent from my HTC Desire HD using XDA Premium app.
I made an ext2 partition in my sd card to use for data2sd (titanium). I guess since it's all about linux, I need to add an entry in /etc/init.d/ . Can anyone tell me what's the proper command syntax?
I'm curious about what the Xoom is using to make apps think there is an "external" storage on the device. It is my understanding that with Honeycomb, there is no longer a partition on the internal storage formatted as FAT that is mounted as /mnt/sdcard. Rather the majority of the internal storage is now part of the /data partition. But then, what is mounted at /mnt/sdcard? Surely not the entire data partition? Since doing that would expose app's private data which other apps aren't supposed to access. So I'm guessing that it's probably a subdirectory on the /data partition that is mounted at /mnt/sdcard so that apps that hardcode that directory to use for external storage can still work. Is this correct? If so, what is the exact directory that is mounted there? Thanks.
Chirality said:
I'm curious about what the Xoom is using to make apps think there is an "external" storage on the device. It is my understanding that with Honeycomb, there is no longer a partition on the internal storage formatted as FAT that is mounted as /mnt/sdcard. Rather the majority of the internal storage is now part of the /data partition. But then, what is mounted at /mnt/sdcard? Surely not the entire data partition? Since doing that would expose app's private data which other apps aren't supposed to access. So I'm guessing that it's probably a subdirectory on the /data partition that is mounted at /mnt/sdcard so that apps that hardcode that directory to use for external storage can still work. Is this correct? If so, what is the exact directory that is mounted there? Thanks.
Click to expand...
Click to collapse
Consider /mnt/sdcard to be just a name for a portion/partition of the Xoom's internal flash memory that does not get touched when you flash a new kernel or ROM or get an OTA update. This has certain implied meanings to where android looks for certain files or multimedia. The external micro-sd card gets mounted at /mnt/external1 which on my Xoom also has a link to /MicroSD. I hope this helps clear up some of the confusion.
davidsos said:
Consider /mnt/sdcard to be just a name for a portion/partition of the Xoom's internal flash memory that does not get touched when you flash a new kernel or ROM or get an OTA update. This has certain implied meanings to where android looks for certain files or multimedia. The external micro-sd card gets mounted at /mnt/external1 which on my Xoom also has a link to /MicroSD. I hope this helps clear up some of the confusion.
Click to expand...
Click to collapse
Yes, I assume it is a part of the /data partition, which is unaffected when you flash a new ROM, because that is on the /system partition. The problem is that I don't think it's the entire /data partition, since that partition contain private app data that other apps should not be allowed to read. I'm just wondering which subset of the /data partition is mounted at that location.
If im not mistaken the /mnt partition is written in Fat32 so that when you connect your phone to a windows pc the pc will recognize it. so the sdcard in /mnt is what you see when you plug your xoom into the pc, and the /sdcard partition automatically writes changes you make to its files to the /mnt/sdcard version to reflect the changes that were made when you plug into windows pc. the true sdcard, the one you manually put into the top of the xoom is /mnt/external1, or /microsd in the main filesystem "/" Atleast thats what I believe, Im no dev
Use "mount" command in Terminal Emulator or ADB shell
All mounted devices and mountpoints will be listed there.
_TB_TB_ said:
Use "mount" command in Terminal Emulator or ADB shell
All mounted devices and mountpoints will be listed there.
Click to expand...
Click to collapse
That's what I'm hoping somebody would do, I don't own this device.
/data/media is underlying directory for the Android sdcard fuse file system that is mounted at /mnt/sdcard/
solarnz said:
/data/media is underlying directory for the Android sdcard fuse file system that is mounted at /mnt/sdcard/
Click to expand...
Click to collapse
Thanks! That's in line with what I was thinking.
very usefull this to me
so I guess it means that if my /mnt/sdcart space has become way too small in proportion to the available space on the card after a flash recovery so I can fix this by enlarging my /data partition, which thus is not really a partition, but merely an imbedded file system -an image file. Which can be enlargend with dd.
Thank for this discussion
Mikkel
My sdcard can be detected by windows. I can see all files on it.
I tried minitool partition to make an EXT4. Now I have a problem, I format the sdcard and still can't be mounted on my pico.
I tried to activate the option via adb
I hope xda's help me.
(sorry from my english)
did you make the main sdcard partition as ext4? is it logical? you gotta make fat32 as primary to make it work in your android..windows can read logical partition but androids can't.
I made an ext3 partition on the SD card so I could move the apps to the SD card. But when I create the mount script, it works after a reboot. I reboot again to find that my ext3 partition hasn't mounted on boot. So I go to Link2SD and it asks to create the mount script again. So what I understand is that the mount script cannot be used during boot. What should I do?