Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

In files how to make invisible be visible

File management,/ file-permissions profiles /restricted-profiles /data How to see all downloaded info in files instead of being blank
user412058's user avatar
1 vote
0 answers
90 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 ...
Michael Gruenstaeudl's user avatar
2 votes
1 answer
147 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 ...
Anton Wessel's user avatar
0 votes
0 answers
104 views

I can not get access to /proc/sys/kernel/hostname file

After following the Anon Uimik's instructions to get root access here: How to make Termux obtain root access? I'm trying to get the value of the file /proc/sys/kernel/hostname but I'm getting ...
tirenweb's user avatar
  • 101
1 vote
1 answer
973 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 ...
Zweikeks's user avatar
  • 121
2 votes
1 answer
2k 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 ...
Weiur's user avatar
  • 81
1 vote
0 answers
31 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/...
user2357932's user avatar
0 votes
0 answers
109 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 ...
Ooker's user avatar
  • 516
1 vote
0 answers
3k 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 ...
Sandman's user avatar
  • 11
1 vote
0 answers
2k 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> ). ...
Parduz's user avatar
  • 111
1 vote
0 answers
126 views

Is it possible to give a system app full read and write access to the main external storage in Android 11?

We're building our own ROM from AOSP, and the ROM will have a third-party app installed to /system/priv-app but we need to give that app read and write access to the main external storage without any ...
Schro's user avatar
  • 11
1 vote
0 answers
301 views

Access "data/tombstones/" dir from Android application

Trying to get access to "data/tombstones" directory from my rooted phone. I am implementing a crash collector application (system application) which would help to record the system's ANRs ...
Lavyansi's user avatar
2 votes
1 answer
1k views

Unable to run rclone mount (even as root). Stuck on Error : fusermount: fork/exec /system/bin/fusermount: permission denied

I have already: A rooted Android 5.0 device (Stock-ROM, Magisk 19.3), Termux installed (termux-v0.79-offline-bootstraps.apk) and root permissions granted. Installed rclone through official repository ...
vkarantz's user avatar
0 votes
1 answer
379 views

What type of data is excluded from the "media only" file permission in Android 12?

Starting from Android 11, there are 2 levels of file access permission, i.e., "files, media, and everything" permission and "media only" permission. What is the difference between ...
raptorAcrylyc's user avatar
0 votes
0 answers
652 views

How to change permissions for SD card directory under /storage

I have symlinked /data/media/0/Download to /storage/15B3-16E4/Download so that files will save to my SD card, but apps can't write to it because the owner/permissions are wrong. adb shell su -c ls -ld ...
Gooberpatrol66's user avatar
1 vote
0 answers
393 views

Is it possible to limit read permissions for some folders on external SD card to certain apps on Android 10?

My device has 64 GB of internal storage and it's nearly full. I can expand storage with a 256 GB microSD card. However, I don't like that everything stored on the SD card is freely accessible to every ...
Cell's user avatar
  • 11
1 vote
0 answers
188 views

Unable to download/share pdf files: Where to reset permissions for PDF files?

Very newbie here when it comes to Android. Using Xiaomi Phone, MIUI Global, 12.5.10 Android: 11 RKQ1.20 While downloading PDF files from whatsapp or Sharing PDF files, i'm getting below error. The ...
diaryfolio's user avatar
0 votes
0 answers
4k views

Can I somehow allow an app to access all files?

I have some applications which I want to allow access to not just for media folder: OS: Android12, OneUI4 Can I somehow gently ask the OS to provide extra permission to this application without ...
Daniel's user avatar
  • 281
2 votes
1 answer
8k views

Termux access /sdcard/data

Most of the apps are now not permitted to access /sdcard/data the only app i know which can access this folder is Files(not files by google)[com.google.android.documentsui] a few days ago i see this ...
ANDuser's user avatar
  • 83
2 votes
1 answer
2k views

Cannot list all folders in /data/data in few apps

I have a rooted Android 11. Using Termux, or Es File Explorer, I can see all the 284 directories in /data/data. Unfortunately, many file explorer apps (with root privileges, such as Total Commander, ...
TheBigBadBoy's user avatar
1 vote
0 answers
69 views

Security concern: Can "multiple user" feature protect my sensitive data from apps that I don't trust? [duplicate]

I'm using lineageos18.1 and for some reason I need to install an app that I don't trust. It requires some critical permission to run normally such as: All files access Install unknown apps Get ...
ArchBug's user avatar
  • 11
1 vote
0 answers
26 views

Android 11: change ownership of media_rw files [duplicate]

Could somebody please help with the following problem on ArrowOS, Android 11? Background I use TitaniumBackup to create regular app backups. The TiBu folder is on internal storage. Then, after that, I ...
Gary Chainmiller's user avatar
1 vote
0 answers
26 views

rooted lineageos: mount /sdcard as ext4 with support for ownership/permissions bits [duplicate]

It seems the partition corresponding to /sdcard is formatted as a FAT variant in android. As a result, it does not support ownership/permissions: /sdcard/Signal $ ls -lrth total 116M -rw-rw---- 1 root ...
Abhishek Anand's user avatar
0 votes
1 answer
2k views

How to edit build.prop file in Android 11

I have a TCL 20e (6125A) with Android 11. I want to increase the torch brightness. As I read in another post, this can be done by adding these two lines in the file: ro.media.capture.flashintensity=50 ...
Favio Hernandez's user avatar
0 votes
0 answers
205 views

Create and edit a bash script in an USB connected smartphone

The question explains it all. I am using Ubuntu 20.04 LTS. I have connected an android smartphone to pc using USB. Changed directory to internal storage using: cd /run/user/*/gvfs/*/'Internal Shared ...
SuperNoob's user avatar
0 votes
0 answers
72 views

Why does encryption doesn't work/apply to access device storage or Google photos or drive when we upload a file from device/cloud to any webpage/apps

Example : YouTube, Facebook, Instagram, Chrome ( any app ) If I'm accessing YouTube or any other app where I can upload content from Android device with or without the app lock features, whenever I ...
user avatar
1 vote
0 answers
69 views

How to expose a folder to a PC using mount command

I've been messing with termux on a rooted tablet (mediatek), and I'm trying to expose a folder using mount that will be accessible to my PC via a USB connection over mtp (with read/write permission). ...
silencedogood's user avatar
0 votes
1 answer
649 views

How to delete a file registered in Word for Android recent files list?

The file in this picture within the recent list is an old competition fixtures file I want to delete. I click on the three dots to the right of the file and select delete and it says I don't have ...
Chris Rogers's user avatar
1 vote
1 answer
983 views

How to write to an Android system file?

Why is writing to /sys/class/power_supply/battery/status having no effect? Accessed manually via adb shell as root, eg echo "Discharging" > /sys/class/power_supply/battery/status does not ...
adatum's user avatar
  • 113
0 votes
1 answer
963 views

Cxxdroid can execute c++ binary in any internal storage directory, but Termux cannot

I was testing some c++ executable in my old smartphone (Android 8, no root). Here's the description of the problem: I have both Termux and Cxxdroid installed in that phone. And in termux, I have clang ...
SuperNoob's user avatar
0 votes
1 answer
308 views

Why can't I select some image files on some apps, while the Gallery app can?

I have a Xiaomi device on Android 8.0 Oreo. I was editing some pictures in an application and sometimes the picture that I want to edit doesn't appear on the editing app, but there's in the gallery. ...
xeno's user avatar
  • 9
1 vote
0 answers
2k views

How can I access files downloaded from Chrome on Android 11?

With Android 11 adding scoped storage, I'm noticing I'm not able to access some key folders in my file manager app of choice (Solid Explorer). In this case, files downloaded via Chrome and it's ...
Jeff Mercado's user avatar
1 vote
0 answers
34 views

Termux (specifically npm) can't install in internal storage [duplicate]

Everytime I try to use NPM to install something into /storage/emulated/0/dir it would always do this: npm WARN tar EPERM: operation not permitted, futime npm WARN tar EPERM: operation not permitted, ...
SakuSazu's user avatar
0 votes
0 answers
695 views

Can't write to internal storage on a rooted phone

I have a Samsung Galaxy A5 (2016) which I rooted with Magisk. Now in the process of installing TWRP and customizing my phone, I might have run some shell commands, like mount or sudo in a place where ...
Shayan's user avatar
  • 137
2 votes
1 answer
498 views

Have root & external sdcard mounted rw, but mv produced "Permission Denied"

I have an old tablet running LNOS 14.1. It has an external SDCard with some Books, Videos etc. The card is configured as movable storage. .android_secure is an empty directory, and though I haven't ...
Diagon's user avatar
  • 153
1 vote
0 answers
141 views

Is this possible in Android that a file/folder can have multiple owners and group?

So in my scenario, I am trying to assign multiple groups, the user to a file in /dev/. So I have created a custom AID in config.fs and the corresponding [path], mode, caps parameter also configured. ...
Vishal Gupta's user avatar
1 vote
0 answers
486 views

How to properly propagate unmounting of USB OTG storage to all mount namespaces (rooted device)

This is a (spiritual) follow-up to the previously answered question How to bind mount a folder inside /sdcard with correct permissions?. Device: Samsung Galaxy Tab S2 8.0 ROM: LineageOS 16.0 (Android ...
Shamtam's user avatar
  • 111
5 votes
1 answer
412 views

How much of the Android filesystem is visible over MTP?

When I plug in my Android device to my computer it gets connected as a media device under MTP mode. I can browse a bit of the folders on my device via my computer. I'm wondering how much of the device ...
jxramos's user avatar
  • 615
0 votes
0 answers
182 views

How to make a text file read-only in a non-rooted device? [duplicate]

I wanted to make a file read-only (440)in internal storage but it shows "failed",as it seemingly requires root permission but I can't unlock bootloader as of now so is there any means we can do the ...
S.D's user avatar
  • 101
1 vote
1 answer
97 views

Why preinstalled apps have more privileges than third party apps?

This question is based on an observation of Android's powerful security features, In my old Android Lollipop third party apps had read access (but no write access) to external SD card, but my Android ...
Aravind A's user avatar
  • 259
1 vote
0 answers
1k views

E: failed to format /cache: permission denied

I am using a Blackview A60 Pro and I am stuck inside of the turn on screen. A couple of days ago I dropped it in a bucket of water and I have had it in rice since. I turned it on and it won't boot, I ...
IronBeagle's user avatar
1 vote
0 answers
353 views

Securely storing keyfiles with authentication and alike

I am using Keepass as my password manager. I am using a keyfile for securing access to my database. However when I want to do the same on my android phone I have to store the keyfile in my phone ...
patvax's user avatar
  • 111
2 votes
1 answer
2k views

Why root cannot access ".android_secure" directory on external SD card?

I have an Android 9 tablet, rooted by way of Magisk. It has an external SD card mounted as sdfat on /mnt/media_rw/1234-5678 which is mounted on four other mount points, all as type sdcardfs, with some ...
Jay Michael's user avatar
13 votes
2 answers
23k views

How to access /storage/emulated/10 (multi-users env) in adb shell on Android 9+ without root access?

I have two Android system users configured. $ pm list users Users: UserInfo{0:Owner:13} running UserInfo{10:security space:13} running UserInfo{999:XSpace:800010} running When the mobile ...
sgon00's user avatar
  • 362
0 votes
0 answers
875 views

Why `diag_mdlog` not able to write on `/sdcard` if it is fired from an Android App that has write permissions?

I am getting a weird behavior with diag_mdlog executable. I am executing it from my Android app as su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg The issue is: if the android ...
Vatish Sharma's user avatar
0 votes
1 answer
375 views

Can a System-App read the data of other apps on Android 9?

I want to know if a system-app is able to read the data of other apps (the data stored in /data/data.) on Android 9. Thanks!
sw1tchbl4d3's user avatar
1 vote
1 answer
4k views

How to edit root files in /sys (Permission Denied)?

I have been trying to change root files in my phone through an app I am developing. The phone I have is a Moto G6, fully rooted. I'm using terminal emulators to run commands on my phone. I've tried "...
Adam Higgins's user avatar
1 vote
2 answers
3k views

Permission denied when opening files from Termux

I have an issue with file permission in Termux. For instance, I installed c4droid and copied the Termux /include and /lib folders content in the /c4droid folder where the headers are being looked for ...
Yvain's user avatar
  • 121
0 votes
1 answer
2k views

Can android user become a super user in android?

Is it possible to change the rights of normal user in android to super user? My requirement is to run the super user code(I want to read a file data from system directory) in a device that has ...
Vatish Sharma's user avatar
0 votes
0 answers
1k views

Permission denied on android directories?

Forgive my newness... I've installed Android Studio/Android SDK in Windows 7, enabled debugging on my Droid Turbo 2 with Android 7.0, system version 25.216.2.kinzie_verizon.verizon.en.US, and ...
Rebeccah's user avatar
  • 111