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.
67
questions with no upvoted or accepted answers
4
votes
0
answers
7k
views
How do I fix the permissions on /system/app on my Kindle fire
I attempted to root my Amazon Kindle. That seemed to go well, but when I tried to add the Google App Market, I apparently made a big booboo, because now I am in "constant reboot, 'kindle fire' screen ...
3
votes
0
answers
1k
views
Play store apps cannot write to external SD Card in Android Oreo
My Galaxy S7 edge recently updated to Oreo. Now play store apps no longer have rights to write to my external SD card. I have followed app instructions about how to open a system folder chooser dialog,...
2
votes
0
answers
9k
views
Package installation in Termux
I'm reading this guide that describes how to install the statistical language R on Termux. My installation journey is briefly outlined below.
I need to determine why nothing happens at Step #2 ...
2
votes
0
answers
119
views
Data recover/transfer from a disk image
Situation. I have a .img disk image file obtained from a .vmdk file via a virtualbox conversion, the latter being created by an Android 4.4.2 emulator. I'm trying to recover some app data and transfer ...
2
votes
0
answers
1k
views
SSHDroid cannot write sd card
The title says it all.
Running android 7.1 not rooted device, I am running sshDroid on android device, ssh into it from my laptop.
When I ssh into the device and check the permissions for the SD ...
2
votes
1
answer
1k
views
Android locked MicroSD card (all files read-only)
I own a Wiko Rainbow with Android 4.2.2. Out of the blue my MicroSD card got locked and I can neither create nor delete any files on my phone (such as photos). At first, I did not even understand why, ...
2
votes
0
answers
82
views
Downloads not possible after root
I rooted my Samsung Galaxy S5 (Android 5.0, SM G900F) recently with Odin. While I rooted it, I had Kingroot installed. Since Kingroot took over the root management, I'm not able to download files with ...
2
votes
0
answers
2k
views
ES File Explorer unable to access `/storage/emulated/legacy` which it did earlier
I suddenly have a weird problem with the Android phone running version Android 4.2.2. I never rooted the phone but suddenly the app ES File Explorer is not able to access /storage/emulated/legacy ...
2
votes
0
answers
894
views
Setting IncognitoModeAvailability policy for Google Chrome on an Android tablet?
Google Chrome supports an “IncognitoModeAvailability” policy that I want to set on my Android (Jelly Bean) tablet.
I tried to set up the policies as described here: http://www.chromium.org/...
2
votes
0
answers
240
views
How can I add the user of an application to the group of another application?
I'd like to add the user of one application to the group of another so that I can read the other applications private content without doing a su every time.
I can't find the adduser or the useradd ...
2
votes
0
answers
450
views
Persisting permissions on /mnt/shell after reboot
CWM Nandroid backups are being stored in /mnt/shell/emulated/clockworkmod
I want to use DropSync (or something similar) to automatically upload the contents of this folder to Dropbox as a backup ...
1
vote
0
answers
201
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 ...
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/...
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 ...
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> ).
...
1
vote
0
answers
144
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 ...
1
vote
0
answers
334
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 ...
1
vote
0
answers
414
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 ...
1
vote
0
answers
199
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 ...
1
vote
0
answers
76
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).
...
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 ...
1
vote
0
answers
147
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. ...
1
vote
0
answers
512
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 ...
1
vote
0
answers
2k
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 ...
1
vote
0
answers
378
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 ...
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 ...
1
vote
0
answers
504
views
SD card write permission issues after restoring from backup to an identical phone model
I've been using LineageOS 14.1 on a rooted unlocked Samsung S7 (G930F) for a long time. My phone started dying, so I rebooted to TWRP and managed to take a full backup to the SD card before it died. ...
1
vote
0
answers
446
views
Running commands operating on files always results in permission denied errors
When I try executing commands operating on files, they always fail. I can't check permissions on the terminal because I'd have to run a command that operates on a file (directory) in order to do so. ...
1
vote
1
answer
1k
views
Create shared folder on sdcard
Is there any way to create a directory on an external sdcard that has read/write access for multiple apps. For example I want to us synththing or rsync under termux be able to sync this directory to ...
1
vote
0
answers
825
views
Understanding android partitions and directories permissions
I'm playing with mount points, directories and files permissions on a rooted MotoG1 using adb (a model without SDCard Slot), and I've come into certain behaviours I can't really understand.
Connected ...
1
vote
1
answer
711
views
permission denied on files created via adb in recovery
I stumbled upon a strange issue - after installing new ROM (CyanogenMod 12.1), I used adb push (still in TWRP) to copy some backed up directories to internal storage - so far so good. But then in ...
1
vote
1
answer
1k
views
/storage/emulated/legacy is read only
For some reason, no apps on my phone (including adb, after running su) can modify any files in any subdirectory of /storage. I also can't use my file manager on my computer to edit, create, or delete ...
1
vote
0
answers
2k
views
What are correct file permissions?
My phone is a Sony Ericsson Xperia X8, and I'm using CyanogenMod. There is an app called ROM Manager included in CyanogenMod, and I found an option 'Fix permission' there. I shouldn't have used this: ...
1
vote
0
answers
2k
views
Unable to move files to external SD card on SGS2 XXLP2
Running a rooted Galaxy S2 with ICS XXLP2 official leaked rooted build. I have a 32GB microSD card mounted at /sdcard/external_sd in addition to the 16 GB internal storage. I'm unable to copy files to ...
1
vote
1
answer
554
views
Docx document is read-only in LibreOffice
I created a docx file in LibreOffice on my computer running Debian 9.1 with KDE and copied it to my Android phone. On the phone I try to open the file with the LibreOffice app. However I can't edit ...
1
vote
1
answer
42k
views
ES file explorer has been denied permission for an interactive shell
I have a rooted Nexus 7. I've been using ES File Explorer along with it. I have been able to navigate through files, after having set Tools/Root Explorer and turning it on. But now, I can no longer do ...
1
vote
1
answer
970
views
Unable to change permissions for files on external storage
To clear up some disk space I moved my mp3 collection from internal to external storage. My device is rooted and I was su at the time.
The files can be seen (and played) from the File Manager, but ...
0
votes
0
answers
29
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
0
answers
24
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
0
votes
0
answers
119
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 ...
0
votes
0
answers
116
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 ...
0
votes
1
answer
395
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 ...
0
votes
0
answers
723
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 ...
0
votes
0
answers
5k
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 ...
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
...
0
votes
0
answers
216
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 ...
0
votes
0
answers
75
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
333
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.
...
0
votes
0
answers
729
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 ...