Your user is very clever, because I get a message saying "Copying failed"
when trying to copy to this second memory card with ES on my S.

There is a built-in app that lets you transfer files to and from this
memory card, and that's it.

As far as rights go, here is what I see. Note the different owners. This is
4.0.3.

>>>
kman@ivy:~$ adb shell ls -l /mnt
drwxr-xr-x root     system            2012-08-14 11:23 asec
drwxr-xr-x root     system            2012-08-14 11:23 obb
d---rwxr-x system   sdcard_rw          1970-01-01 04:00 sdcard
d---rwxr-x system   media_rw          1970-01-01 04:00 sdcard2
drwx------ root     root              2012-08-14 11:23 secure
d--------- system   system            2012-08-14 11:23 usbdisk1
d--------- system   system            2012-08-14 11:23 usbdisk2
d--------- system   system            2012-08-14 11:23 usbdisk3
d--------- system   system            2012-08-14 11:23 usbdisk4
d--------- system   system            2012-08-14 11:23 usbdisk5
d--------- system   system            2012-08-14 11:23 usbdisk6
d--------- system   system            2012-08-14 11:23 usbdisk7
d--------- system   system            2012-08-14 11:23 usbdisk8
<<<

>>>
kman@ivy:~$ adb shell ls -l /mnt/sdcard
d---rwxr-x system   sdcard_rw          2011-09-27 11:05 Alarms
d---rwxr-x system   sdcard_rw          2011-08-17 07:40 Android
<<<

>>>
kman@ivy:~$ adb shell ls -l /mnt/sdcard2
d---rwxr-x system   media_rw          2012-02-06 19:30 LOST.DIR
d---rwxr-x system   media_rw          2012-04-25 18:01 transferred
<<<

-- K

2012/8/14 Zsolt Vasvari <[email protected]>

> I know this is probably not the best place to ask, but I cannot think of a
> better one.
>
> The Sony Tablet S uses an "external" storage, which is actually internal.
>  It's real SD card is on some other path.  My app allows the user to
> configure their folders using a full path name.  My user has done this
> giving it the full path to a folder on the SD card.
>
> My app does a sanity check on the folder to make sure it's ok -- one of
> the checks done is to call File.canWrite().  This fails on this folder and
> I display an error message.
>
> But, the user claims that using ES File Explorer, he can actually
> create/copy a file in this folder, but cannot delete it or rename it.
>  Looking at the folder permissions, w is not set, so canWrite() returns the
> correct value according to the permission set on the folder.
>
> Can anyone have any ideas what's going on here?  How can a file created in
> a folder, but then not be able to modify it?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to