KernelSU icon indicating copy to clipboard operation
KernelSU copied to clipboard

Unable to access app data

Open androidacy-user opened this issue 1 year ago • 8 comments

Describe your problem.

Hi!

We're not really sure if this is a bug or intended behavior, but with KernelSU on WSA app data directories return "Permission denied" whereas Magisk has no such issue.

What we've tried:

  • Switching namespace to global
  • Adding "app" to the user groups

Is this intended behavior, a setting we need to change, or a bug? If it's a bug, what information should I provide?

androidacy-user avatar Feb 01 '24 02:02 androidacy-user

Maybe it is a bug, you can use adb shell and execute su -mm, then ls -al /data/data, can you see any data?

tiann avatar Feb 01 '24 02:02 tiann

And also, which app do you test?

tiann avatar Feb 01 '24 02:02 tiann

And also, which app do you test?

App we're developing internally + adb shell (with su)

androidacy-user avatar Feb 01 '24 04:02 androidacy-user

Maybe it is a bug, you can use adb shell and execute su -mm, then ls -al /data/data, can you see any data?

Will check it tomorrow.

Listing folders (with just su) under /data/data works, but any sort of access to files or directories in actual app data folders results in Permission denied

androidacy-user avatar Feb 01 '24 05:02 androidacy-user

Do you install Magisk with KernelSU together? Permission denied is werid.

tiann avatar Feb 01 '24 07:02 tiann

Do you install Magisk with KernelSU together? Permission denied is werid.

No, both are relatively clean installs of WSA (generated using MagiskOnWSALocal)

androidacy-user avatar Feb 01 '24 16:02 androidacy-user

su -mm produces no different result. We're currently trying to clean reinstall WSA, just to eliminate any issues on that front.

androidacy-user avatar Feb 02 '24 02:02 androidacy-user

Weird as hell. After completely uninstalling + reinstalling WSA, the problem resolved itself

What's weird, is there were no selinux denials and permissions should have been okay. We'll just chalk it up to a weird one off problem.

Anyway, thanks for your time!

androidacy-user avatar Feb 03 '24 00:02 androidacy-user