1

I've put an executable into my /sdcard folder, and here it is:

-rw-rw---- 1 root everybody   4128608 2022-05-28 18:46 hello_world

it belongs to root. I tried

citrus:/sdcard $ chown citrus:citrus hello_world                                                  
chown: bad user 'citrus'

su and then chmod +x hello_world but nothing changes.

How can I make this executable and belong to a normal user, whoever this mioght be.

Android 11 Poco M3

1
  • 3
    Move your binary to /data/local/tmp/ and set permissions there. For chown and chmod read this. For understanding users concept on Android read the second paragraph here. For more details see this and this. Commented May 28, 2022 at 22:36

0

You must log in to answer this question.

Browse other questions tagged .