Michael Goffioul
unread,May 30, 2019, 6:13:33 PM5/30/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to andro...@googlegroups.com
I've compiled the current pie-x86 branch (sync'ed yesterday) and I can
boot my device in LIVE mode. However, I'm having a weird problem with
creating subdirs in the emulated external storage.
After resolving all symlinks, /sdcard is actually /storage/emulated/0.
But I'm unable to create a directory in at that location, or even
create a file (as root, in ADB shell):
130|ls1853:/ # touch /storage/emulated/0/test
touch: '/storage/emulated/0/test': No such file or directory
Looking at the mount table, /storage/emulated is actually mounted from
/data/media:
/data/media on /storage/emulated type sdcardfs
(rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
If I create the file using /data/media instead, I can see the file
from /storage/emulated, and I can even delete it. But I cannot create
it. As illustrated with this shell session:
ls1853:/ # touch /data/media/0/test
ls1853:/ # ls -l /storage/emulated/0
total 0
-rw-rw---- 1 root sdcard_rw 0 2019-05-30 18:10 test
ls1853:/ # rm /storage/emulated/0/test
ls1853:/ # ls -l /storage/emulated/0
total 0
ls1853:/ # touch /storage/emulated/0/test
touch: '/storage/emulated/0/test': No such file or directory
This problem didn't occur in earlier versions (7.1.2 and 8.1.0). Does
anybody have an idea about what's going on?
Michael.