User data directory in Android 4.3

User data in android 4.2 and later is stored in /data/user/<userId>
/data/user/<userId>
But still, I found the /data/data directory in the Android 4.3 file system. I think that it stores application data that is common to all users, and /data/user/<userId> used to store user application data. It's true?

+6
source share
1 answer

No.

/data/data always belongs to the main user. You can see this by specifying the /data/user directory:

/data/user/0 is a soft link to /data/data , and permissions are set so that only this "user 0" has access to all the data stored in /data/data .

Therefore, /data/data not common to all users.

+9
source

Source: https://habr.com/ru/post/952586/


All Articles