Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Use this tag if your issue is with permissions in the file system (files & directories). For app permissions, use the 'permissions' tag instead.

2
votes
0answers
31 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 ...
0
votes
0answers
36 views

Grant SD card access to non-owner account

I've got several (non-restricted) user accounts on a Samsung device running Nougat. I'd like a given app (Orux Maps) to have write1 access to data in a given SD card folder under several of these ...
0
votes
0answers
29 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
0answers
249 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,...
1
vote
1answer
47 views

Unable to copy files from one /data/data/ directory to another (Root)

I'm trying to copy one file from /data/data/com.application1/myfile to /data/data/com.application2/myfile The file arrives with owner and group set to the app that it came from. I then changed the ...
0
votes
0answers
31 views

Correct owers and permissions in /data/data (and correct way to fix)?

I have a backup of the app-data directory /data/data on my sdcard which has screwed up the permissions and probably owners. I'll copy some of the folders from the backup to /data/data. I suppose using ...
0
votes
0answers
20 views

System data folder size is 3.5GB on external sdcard second partition

I have created a second ext2 partition on my sdcard and use App2Sd to link apps on it. The problem is, I just discover a folder called system data that is 3.5GB and I don't know why is it and neither ...
0
votes
0answers
27 views

Mounting fs in linux, writing to external SD card (Fat32)

I connect to my android phone, from my Ubuntu laptop, using either sshfs or obexfs. Both solutions work great, except on the external SD card. If it try to rsync to this, it stutters trying to set ...
0
votes
0answers
48 views

PPPD call command failing due to read-only lock folder

I have an Android SBC running 4.4.4 with a 3G PCIE modem. The device is rooted. Usually the 3G connection is available automatically after boot up and is shown by 'ppp0' being listed under netcfg. ...
0
votes
0answers
50 views

How to create a copy of what an application is downloading?

I have an app in which it downloads several PDFs in-app and saves them to an unknown location (i have checked all locations in my phone). I want to make a saved copy of everything the app is ...
0
votes
0answers
84 views

What file system for Asus Zenfone 2 on CentOS 6.9?

I'm trying to mount my Android Asus Zenfone 2 on CentOS 6.9. I created a folder in /mnt/android as the mounting point. I edited the /etc/fstab file in the following way because somewhere in some ...
1
vote
0answers
261 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 ...
0
votes
0answers
47 views

Permissions to access device informations

Does those permissions give access to device informations like storage capacity and free space ? read the contents of your USB storage modify or delete the contents of your USB storage
1
vote
1answer
112 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 ...
0
votes
1answer
39 views

Portable storage: do I have to re-grant app permissions when switching microSD cards?

I'm using a Moto Z2 Force running Android 7.1.1 with a 128 GB microSD card installed. I wanna upgrade to a 400 GB card. Would I have to re-grant microSD access app permissions for the new card, or do ...
4
votes
1answer
435 views

Unknown file type containing a virus

I will try to keep the story as short as possible just so you can have a more clear view of what is my concern. While, I was browsing the Internet on my phone using the Chrome Browser App, I got a ...
0
votes
1answer
163 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 ...
0
votes
1answer
120 views

host file in android

I have a rooted device. I would like to protect my hosts file from being deleted, maybe with a password or something like that. Is this possible?
-1
votes
1answer
347 views

Cannot paste files into System/Media

I am looking to change my boot audio but cannot change it due it not copying from my computer to my phone but I can copy from the device to my computer. I have the latest version of Android Studio / ...
0
votes
0answers
156 views

Why can't my phone write to external USB drive?

I bought a new 3TB USB3.0 external harddisk for storing and transferring large files (mainly hd movies from my camera) between my Android phone (Galaxy S7 edge) and my PC (Win10). Using windows, I... ...
0
votes
1answer
516 views

How to use an ext4 formatted sd card as external storage with working app permissions?

I'm using LineageOS14.1 (Android 7.1.2) on a Moto G 3rd gen I'm using a 64GB sd and my phone technically doesn't support it, it worked fine until I put more stuff on it and then it started to ...
0
votes
1answer
710 views

wpa_supplicant.conf permission

So I'm facing this problem for a while now . What happens is that my phone reboots automatically sometimes and after the reboot I can't use my WiFi . The button is stuck at off: So after doing some ...
2
votes
2answers
874 views

Copying files from PC to “external” SD card

I've got AirDroid and SSHDroid installed on a ZTE Axon 7 running 7.1.1. The phone has a micro SD card in it, and it can access (read from) that card successfully. What I can't do is copy files onto it....
3
votes
1answer
111 views

System Set Permissions Accidentally, and is Corrupt

My phone's system folder at /system was corrupt. I accidentally set its permissions to rw-r--r--. Then, I reboot my phone, and nothing is working. Here's what I mean: 1st reboot: power off; 2nd ...
0
votes
0answers
1k views

Permission denied reading /dev/block/mmcblk0p4 as root

I will list my main objective first, dependencies after. If there is a better path to my goal, please show me the way.... I want to install Lollipop on my HTC One S. (Or a later version, if one is ...
3
votes
2answers
9k views

What file systems can I use for a 128GB sdcard on Android 7.1, used as portable storage

I can't find an answer to this on StackExchange. I have a phone running beta LineageOS 14.1 (Android 7.1), and a 128GB SDXC card which I want to use as portable/shared storage between devices. I ...
0
votes
2answers
88 views

What is actually happening on the rom when I rooting android device? What is happen on rooting? [duplicate]

What is actually happening on rooting? Is it change file system, or modify file or add new files or add new configirations....etc? I know the meaning of rooting but I want to know how it dowing.
1
vote
2answers
3k views

Can't change file and folder permissions on rooted device

I can't change the file and folder permissions on my rooted android 4.4.2 device. I tried doing this from Root Explorer, Total Commander and also from terminal emulator and it didn't worked. Any idea ...
0
votes
0answers
32 views

Why file permissions work in unexpected manner? And what makes it possible

My app doesn't have storage permissions, yet I can read/write files in /data/user/0/com.myapp/files . When on emulator connected as root I can push a file to this directory, but then the app cannot ...
0
votes
0answers
39 views

Secure access to a file

In an android phone, generally we use App Locker or other applications for securing applications. Like App Locker, how to restrict media files (images and video)? I don’t want to hide them. I would ...
1
vote
0answers
418 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 ...
2
votes
1answer
1k views

How to allow read/write access in a specific folder on the SD Card with Android 6.0.1?

I like to move my AnkiDroid storage to the SD-Card, because my Anki-Decks get huge, in terms of filesize, and my internal storage is full. Anyways (seemingly because they did not like to took the ...
0
votes
0answers
52 views

Manage file access for apps (Linux user accounts/groups)

I recently realized that Xprivacy is not capable of restricting the file storage access. So now I'm looking for a reliable way to do that. I guess denying the general storage permission would ...
0
votes
1answer
395 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
1answer
278 views

Permission denied in /data

My phone is getting out of storage space warnings and most of this is due to log files in /data that I cannot get to. I'm using CyanogenMod and use Terminal to gain shell access. Issue su in the ...
0
votes
1answer
468 views

How can I find the group id (gid) for the sdcard_r group on android?

The question says it all. All folders on my sdcard has owner set as 0(root) and group set as sdcard_r - means all apps that have permissions to access the sdcard. However, since I have root, I want ...
9
votes
3answers
17k views

No permissions for Termux to access internal storage - even for reading

Using the termux (https://termux.com) terminal-emulation program, I type the following command: ls /sdcard I get the following error: ls: can't open '/sdcard': Permission denied Realizing that the ...
2
votes
1answer
533 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, ...
1
vote
1answer
282 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
votes
1answer
855 views

My /storage/emulated/0 and legacy can't execute scripts

All files in /storage/emulated/0 and /storage/emulated/legacy have permissions of -rw-rw---- and are owned by root and of the group sdcard_r. Even as root, if I do chmod 755 foo.bar it won't change ...
0
votes
1answer
992 views

how to transfer a file from within system partition on android to desktop

background I'm developing an app that downloads files to the device.. some of these files are acting out and to trouble shoot I want to actually transfer these files to my (mac) desktop and go ...
4
votes
3answers
9k views

Run downloaded shell command without root?

My phone is a Galaxy S3, not rooted. I have "ES File Explorer" and "Terminal Emulator" installed. I downloaded an Android build of 'wget', intending to execute it from the Terminal Emulator app. ...
5
votes
1answer
7k views

Can't use chmod to alter permissions on emulated phone

So, I'm trying to make an app in android studio and I need to reference a particular file in the app, cascade.xml. I've pushed it onto the emulated phone no problem using adb (it's in the storage/...
4
votes
1answer
2k views

Real root can not change any thing on /system original files!

On my rooted device running Android 4.2.2, I have following tools installed: Terminal Emulator BusyBox Free On Terminal Emulator, su command successfully changes user to a real root: root@hwH30-U10:...
1
vote
1answer
572 views

remount /mnt as read-write

I am getting error "Read-only filesystem" when trying to add a new directory in /mnt via Terminal Emulator. So, I tried : su busybox mount -o remount,rw /mnt in order to remount filesystem for /mnt ...
7
votes
1answer
1k views

how to transfer files to new external sdcard

I have an old 64 GB sdcard and a new 128 GB sdcard, how do I copy over all files from my old card to my new in a way that makes android treat the new card just as the old card. I tried simply copy-...
2
votes
0answers
53 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 ...
0
votes
1answer
527 views

Build.prop modifies okay. But not updates in system (e.g. About Tablet in settings)

I am running Android-x86 4.4 on VirtualBox. Everything works fine. But when I am modifying build.prop (with ES File Explorer or BuildProp Editor) with other manufacturer or model and save it. After ...
2
votes
0answers
1k 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 ...
1
vote
1answer
2k views

Android Photo/Media/File Permission

I've downloaded an android application, then the application asked about this permission: I've searched for it but there isn't any efficient answer. Does it mean that the application is able to send ...