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
1answer
756 views

How to change the modified date of a file without root?

How do I change the modified date of a file, specifically PNGs, on Android without root? Total Commander failed to do it with a permission error Access Denied.
0
votes
0answers
14 views

File showing on device not showing on computer

I'm developing an Android application where some data is exported in a json file written in the Download folder. My objective is to get this file from a computer (when the device is USB connected). ...
1
vote
1answer
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 ...
0
votes
1answer
43 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!
0
votes
1answer
1k 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 ...
7
votes
2answers
2k 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-...
1
vote
1answer
306 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 "...
2
votes
1answer
2k views

Unable to delete file on sdcard

Can anyone tell me what the file and folders are in the picture below? I can't do anything or delete these files and folders. They are coming into my external sd-card. If I format the sdcard they are ...
0
votes
1answer
95 views

Termux files permission

I have an issue with files 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 at ...
1
vote
1answer
504 views

SimpleSSHD - create reusable user/password?

I have downloaded SimpleSSHD (aka Dropbear) to access my Android via SSH. I am able to do so with the one-time password, but I'm trying to write a Python script that can access the phone. Is there a ...
0
votes
1answer
72 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 ...
0
votes
1answer
588 views

Unable to modify file permissions.xml, get error Read-only file system

I have a rooted Galaxy S5 SM-G900V, lineage_klte, ARMv7 Processor rev 1 (v71), Kernel: 3.4.113-lineageos #1 SMP, Oreo 8.1 that a friend asked me to modify. I need to modify the platform.xml file to ...
0
votes
0answers
74 views

How to make new files in Downloads folder visible to all apps?

In Android Nougat, when I use Samsung's File Manager to move an apk file into the Downloads folder, it then appears - within File Manager - in the Downloads folder (as expected). When I try to access ...
0
votes
0answers
38 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 ...
1
vote
1answer
962 views

Why is the '/storage/emulated/' directory inaccessible?

The /storage directory and the /storage/emulated/0 directory is accessible in a non-rooted Android OS. So, why is the /storage/emulated directory not accessible in a non-rooted Android OS ?
4
votes
2answers
4k views

Is it possible to change file permissions on Android's internal storage?

How can I change file permission of a file on Android without rooting? I actually want to prevent some files from deletion. Note: I am asking of changing the file permissions of user-created files in ...
3
votes
1answer
752 views

How to remount sdcardfs to allow setting file permisions / ownerships?

I have a rooted OnePlus One running LineageOS 15.1 (Oreo 8.1). I am trying to adjust some file permissions/ownerships on the emulated sdcard partition. The partition seems to be mounted as an ...
1
vote
1answer
44 views

Why do I have to get permission to save to my own phone?

I am the owner of a new Samsung Galaxy J7 (J700T). When I try to delete files with no data on them on my internal, external, or SD card, the phone tells me I am denied. I want the files I've created....
2
votes
0answers
3k 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 ...
1
vote
1answer
98 views

Exclude an Android/data folder from cache cleanup

I have a game which downloads all of it's data and contents in a folder in Android/data . The size is over 400MB and device is not rooted. Every time I do a cache and junk cleanup, All files of this ...
0
votes
2answers
860 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 ...
3
votes
1answer
643 views

Why do write attempts to /system/priv-app cause /system to switch to read-only?

I'm trying to write files to the /system/priv-app directory. I boot into recovery (TWRP) and run adb shell. ~ # mount /system ~ # mount rootfs on / type rootfs (rw,seclabel) ... /dev/block/mmcblkXXXX ...
18
votes
3answers
54k 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 ...
1
vote
0answers
316 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. ...
5
votes
3answers
13k 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. ...
1
vote
1answer
3k views

Can't create new folders on SD card?

I'm using Lenovo A7000 with Lollipop and I can't create new folders on SD Card. Attempt to create folder on SD card always end with error, however, android phone is not going to tell me what error it ...
-1
votes
1answer
118 views

my phone, Galaxy S4, was hacked. and now I think it's affected my app permissions by adding files to them?

My partner and I had our phones hacked recently. He was able to prevent any real damage from happening. But he reset his just in case. I wanted to go through my phone first, to see what had been ...
0
votes
1answer
131 views

How to make root-created files accessible to normal users?

My device is running Android 8.0, rooted using Magisk as the su manager. I log into it using SimpleSSHD. I'm trying to do some actions which require root access, and in the process I'm creating some ...
2
votes
0answers
63 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
251 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. ...
3
votes
0answers
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
2answers
9k views

Photos/Media/Files and Full Network Access

Does anything stop an application with Photos/Media/Files and Other ("full network access" and "run at startup") permissions from simply uploading ALL of your photos and videos to some stupid server ...
2
votes
1answer
110 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
1answer
1k 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 ...
-1
votes
2answers
2k views

Can I disable an Android app to read write some folders in SD card? (CLOSED)

So many Chinese Android apps always creates garbage in SD card, like there is their's home. Some apps auto downloads binding apps to SD card, when I deleted them, they come up next time! So is there ...
1
vote
1answer
480 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 ...
4
votes
0answers
6k 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 ...
4
votes
3answers
10k views

Can't set date via shell

I've tried date -u 1407697765 output: time 1407697765 -> 1407697765.0 settimeofday failed Bad file number and busybox date -s @1407697765 output: date: can't set date: Operation not ...
0
votes
0answers
143 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 ...
2
votes
0answers
927 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 ...
1
vote
1answer
590 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 ...
5
votes
2answers
14k 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 ...
3
votes
2answers
16k views

How to make symlinks work inside /storage/emulated in 4.4.4

I created a symlink from /storage/sdcard1/somefolder to /data/media/0/somefolder, but apps treat the symlink as a file and not a folder (and crash because they are hardcoded to look for files inside a ...
0
votes
1answer
69 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 ...
3
votes
1answer
1k 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
322 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
1answer
2k 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 ...
10
votes
2answers
13k views

Write permission on certain paths, like the SD card (extSdCard)

In an attempt to transfer a file from a remote server to an Android device I ran into permission problems. It turns out that I do not have a write permission at the location of the SD card (/mnt/...
0
votes
1answer
237 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?
0
votes
1answer
691 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 / ...