Ask / Submit
1

Permission on .android/data subfolder

asked 2017-05-14 17:46:22 +0200

louisbob gravatar image

Hi,

I recently lost all my android application settings as I thought these were stored under /home/nemo folder (in reality, they are stored in /home/.android, and as it is a hidden folder I didn't saw it and didn't saved it). I'm currently willing to use Syncthing to automatically save some data of some android apps to avoid loss in the future.

Unfortunately it seems that data folder of android apps are owned by strange users:

image description

I would like to create a symlink in my /home/nemo folder to automatically save data when I proceed to home backup with Syncthing.

My question are:

  1. Is there any security reason for this choice?
  2. Can I manually change the permissions on this folder to have a read access from the nemo user? What are the risks of doing so?
  3. What the "user numbers" are corresponding to?

Thank you

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-05-14 22:21:54 +0200

stateoftheart gravatar image
  1. I don't think so, you only take the application settings out of their sandbox
  2. you shouldn't, because the android app will simply create a new settings folder with the correct user ID, because it can't read the ones from nemo :-(
  3. https://developer.android.com/guide/components/fundamentals.html -> "The Android operating system is a multi-user Linux system in which each app is a different user."

I hope my answer is helpful for you.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2017-05-14 17:46:22 +0200

Seen: 246 times

Last updated: May 14 '17