Questions tagged [file-permissions]
Use this tag if your issue is with permissions in the file system (files & directories). For app permissions, use the 'permissions' tag instead.
169 questions
1 vote
1 answer
58 views
Android read sysfs failed with the message: avc: denied { read }
My android app is trying to read the file /sys/class/video4linux/video0/device/modalias but can't get any info from it. The reading is done via the C++ command, and returns false: std::ifstream("/...
0 votes
0 answers
84 views
How to grant permission for ls in termux?
I seem to not have read permission: / $ ls ls: cannot open directory '.': Permission denied / $ ls -l ls: cannot open directory '.': Permission denied / $ sudo ls No superuser binary detected. Are ...
0 votes
0 answers
31 views
How to modify not just read files in Android/data folder without root [duplicate]
How to modify the files in subfolders of android/data on android 14, I tried shizuku + ZArchiver or FV file explorer and it doesn't work, i connected my phone to my computer and tried to edit files ...
1 vote
0 answers
569 views
Android TV (10) grant permission and write on external storage (USB)
I've tried different file managers on this Android TV 10, but none of them is able to write on the external memory. In the past and other Android TVs, I have written on external storage without this ...
0 votes
0 answers
231 views
How to edit or modify the Data folder on Android 14 (Xiaomi 14T)?
I know it sounds like a recurring topic, but I would really like to know how to modify the contents of the Data folder in Android 14. I am currently using a Xiaomi 14T that has HyperOS (1.0.8.0....
0 votes
0 answers
123 views
How to prevent an app clearing its own data
How to prevent an app clearing its own data . Thats the 3rd time WhatsApp deleted its own data against Users wish. There can be a zillon reasons which I don't care . If the user does not clear data - ...
0 votes
1 answer
365 views
External SD card write permission for an old app
I have a Samsung Galaxy A50 phone with Android 9 (I don't want to upgrade! Upgrade is not a matter of this question!) and an old file manager app of a great value (built not by me) that works just ...
1 vote
0 answers
764 views
Missing permission to access internal storage
Via Settings > Apps > Fayr > Permissions, I can set various permissions for the Android app Fayr (i.e., Calendar, Camera, Contacts, Location, Notifications), and all of them have been set to ...
2 votes
1 answer
668 views
How to let Emacs open and display a file in directory /storage/emulated/0/?
I am using Samsung Galaxy S10+ on Android 12. From F-Droid, I have downloaded and installed Emacs. It can run directly on Android, not via Termux. In the internal storage of my phone, I have created a ...
1 vote
1 answer
2k views
How to debug Android permission denied at the file system level?
Something is basically pretty messed up on my phone. It looks like everything is running. But sometimes I can't open something or something crashes. The logcat shows a lot of permission denied. A ...
2 votes
1 answer
5k views
Apps suddenly unable to access SD card for seemingly no reason
SOLVED (see accepted answer) So this one is weird. Everything was working fine untill I rebooted my phone earlier today. For some reason, since this reboot, apps are unable to access my SD card ...
1 vote
0 answers
51 views
Cannot open Local files using href
no matter where I placed the file... on Chrome download folder on Edge download folder I run OS Android 13 / Galaxy S21 sample: href="file:///storage/emulated/0/Download/MEGA Downloads/...
0 votes
0 answers
167 views
Why are files with wrong character encoding name write-protected?
I'm unable to delete the files with wrong character encoding in names on my phone. I plug it into my Windows PC and try to delete it in File Explorer. It says the files are write-protected: This ...
1 vote
0 answers
5k views
Running executable files using Termux
I previously posted on the Linux stack exchange about my problem: https://unix.stackexchange.com/questions/731882/termux-bash-permission-denied Suffice to say I've realized that executable files can ...
1 vote
0 answers
3k views
Android 10: how to get write permissions on external USB drives
I've just bought a TvBox with Android 10 in it, and i've soon discovered that no app can write on the external HDD/flashdrives i attach to the USB port (seen as /storage/<long_number_here> ). ...