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
7 votes
2 answers
3k 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-...
jcr's user avatar
  • 189
2 votes
0 answers
81 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 ...
Nikolar's user avatar
  • 21
0 votes
1 answer
2k 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 ...
raiym's user avatar
  • 113
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 ...
SSaikia_JtheRocker's user avatar
1 vote
1 answer
6k 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 ...
Saman Gholami's user avatar
2 votes
1 answer
6k views

Internal and external SD storage inaccessible as root

I'm having a bizarre issue where apps, adb, etc. can properly access my internal and external SD storage without issue unless they are running as root, in which case they are completely inaccessible. ...
Matthew Read's user avatar
  • 50.5k
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 ...
zrneely's user avatar
  • 111
8 votes
3 answers
67k views

adb push ... Permission denied

I am trying to push a file to a directory on a physical android device, but I am running into the following error. >adb push data.db /data/data/com.me.app/databases failed to copy 'data.db' to '/...
yohosuff's user avatar
  • 241
-1 votes
1 answer
135 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 ...
Elius_InExile's user avatar
2 votes
0 answers
843 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/...
user1542015's user avatar
0 votes
1 answer
1k views

Cannot access hidden files on Nexus 5 after root

I'm making some apps for android and wanted to change files in the data/data/com.myapp/ folder, so I decided to root my Nexus 5. This did the opposite of what I wanted. I used to be able to VIEW ...
jr.pe's user avatar
  • 1
4 votes
2 answers
12k 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 ...
User's user avatar
  • 43
3 votes
1 answer
2k views

Is it possible to find the full SELinux ruleset for OEM's stock ROMs?

I'm writing a root app following Chainfire's documentation, but I found I've to run some command in another SELinux context. Using that context on my device (OnePlus One with CM12 nightly), I've no ...
MaxChinni's user avatar
  • 1,075
0 votes
0 answers
3k views

how to give airdroid root permissions on kitkat?

i have a rooted S4 Mini on kitkat 4.4.2 now they have changed the permission so normal applications cannot write expect a given location on the external sd card. (which is not bad as security). but ...
Karim's user avatar
  • 101
1 vote
1 answer
598 views

File permission os SD card (FAT32)

Android uses FUSE for SD cards. Does FUSE support file permissions for SD card? If no - how do I install some apps on SD card? Cause there is no support for symlinks, execution permission etc.
yanpas's user avatar
  • 345
1 vote
2 answers
3k views

Permission denied when accessing file pushed using boot insecure into my Nexus 4 with Android 5.0.1

I have a Nexus 4 with Android 5.0.1. I copy a file doing the following: I reboot to bootloader Boot using insecure boot.img: fastboot boot boot.img Pushed a file: adb push IMG_20140710_105128.jpg /...
hongo's user avatar
  • 171
3 votes
1 answer
7k views

How to fix file permissions on Android 5 so that a certain app can access certain files?

Background: I had a rooted Nexus 4 with Android 4.4.4 that was working well. Then I got the notification to update to Android 5. To this end, I flashed the stock recovery for Android 4.4.4 from Google ...
Alexander Klauer's user avatar
-1 votes
2 answers
3k 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 ...
John's user avatar
  • 1
0 votes
1 answer
10k views

Receiving an EACCESS Permission denied error when copying files to ExtSDCard

My ExtSDCard has begun to act funny over the past few days. I have downloaded and used a few file managers in the past, and my current favorite is ES File Manager. However, over the past few days, I ...
wbogacz's user avatar
  • 2,659
2 votes
0 answers
234 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 ...
Mridang Agarwalla's user avatar
3 votes
2 answers
18k 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 ...
Zulgrib's user avatar
  • 431
0 votes
2 answers
1k views

Trying FTP file located in /data/data

I'm trying to use WinSCP to FTP a file out of /data/data (well, it's directory is contained in the /data/data directory, which is the important part). But I get a "Code: 5" error from WinSCP, access ...
Adam Harvey's user avatar
0 votes
0 answers
2k views

Editing files with Linux Deploy

I have a 2013 Nexus 7 that I'm trying to use to replace my laptop. I recently installed Linux Deploy and am running the testing distribution of Debian on the device. I've installed all my productivity ...
Ryan's user avatar
  • 148
2 votes
3 answers
15k views

Cannot write files to sd card

A few days ago, my sd card became unusable. I tried to copy a few mp3's from my laptop (win 7) to my phone (Samsung S2 plus, running android 4.2.2) and the load bar didn't even move an inch. ...
Pphoenix's user avatar
  • 123
4 votes
3 answers
14k 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 ...
janot's user avatar
  • 555
1 vote
1 answer
3k views

Can't get file to copy from /sys/ on rooted Android

I'm currently rooted on a Samsung S3 i9300 running a custom rom on Kitkat 4.4.2 I use es file explorer to perform root tasks on directories and files, I wanted to permanently turn off the led lights ...
Feyisayo Sonubi's user avatar
10 votes
2 answers
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/...
easytarget's user avatar
0 votes
1 answer
3k views

How can I set a directory permission so that all files, existing, and newly added are indelible?

I am tinkering with an app that I do not control. It creates files and then sometime later deletes them, I want to prevent it from being able to delete those files. Or if I could create a file system ...
MitchellKrenz's user avatar
23 votes
5 answers
68k views

`adb pull /data` fails with "0 files pull 0 file skipped"

I have rooted my device HTC Evo Design 4G and I try to adb pull /data data and it says "0 files pull 0 file skipped" I was able to pull /System/build.prop. How can I pull the root folder?
user3734225's user avatar
1 vote
1 answer
2k views

Default permissions for new files and default umask

I mounted a NFS share on my rooted Android device using busybox mount. I can read and create files, but when I create a file in any app, the file's permissions are set to 0600 (because the umask ...
Twinsen's user avatar
  • 113
0 votes
2 answers
1k views

"/sdcard/Sounds" folder appears empty in Windows 7 for Samsung Galaxy S3

For some reason, the folder that once allowed me to access all my recordings using the default Sound Recorder app appears empty in windows even though the files are still there according to ES File ...
Alkanshel's user avatar
  • 105
1 vote
1 answer
8k views

External SD card no longer able to be read on CM11

I successfully installed CM11-M2 snapshot on my Razr Maxx (xt912, spyder). I was able to use my camera successfully on the device after install. However, now a few weeks in, I am experiencing a few ...
Hari Seldon's user avatar
2 votes
1 answer
10k views

Manually add UID to a system group

Let's say i create a custom group on Android (We will call it GID 5000) and i want to add users (apps) to this group, how can i manually add the app's UID to GID 5000 ? If possible, without touching ...
Zulgrib's user avatar
  • 431
1 vote
1 answer
41k 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 ...
numberwang's user avatar
0 votes
0 answers
157 views

Sharing a directory tree problem from windows to android es explorer

There are several child folders in parent folder on windows 8. Times ago I shared some child folders and accessed them from android es explorer without problems. Then I removed all child folders ...
Chesnokov Yuriy's user avatar
2 votes
1 answer
3k views

Unable to delete file on sdcard [closed]

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 ...
Ruben Dahl's user avatar
1 vote
1 answer
8k views

Setting appropriate permissions on SU binary

I recently found a way to maintain root access on my android device using a dropbear SSH server that I modified to run at boot as root using init.d, a lil scripting magic & some config scripts I ...
Geofferey's user avatar
  • 133
1 vote
1 answer
5k views

Change file permission in BlueStacks player qwerty.kl

I want to edit BlueStacks '/system/usr/keylayout/qwerty.kl' to add few more key map to this file, but I'm not able to edit this file due to permission issue. Any suggestions on how can I change file ...
LOG_TAG's user avatar
  • 201
5 votes
1 answer
1k views

How can I make files available to a restricted profile?

For example I have an emulator and I want the restricted profile to have access to the ROM directory but it seems like the restricted profile has it's own directory structure separate from admin. I ...
SinbadEV's user avatar
  • 151
0 votes
1 answer
225 views

How to associate a specific link with an app?

I'm trying to use imo messenger to access my facebook chat. I remember I've been able to do it in the past but now I can't do it anymore. In the past, I loged on facebook through imo and then the ...
Red Banana's user avatar
0 votes
2 answers
2k views

Without Root, why can I pull a specific apk using adb, but not everything in /data/app. Android 4+?

Using: Droid Bionic 4.04 without Root. I can use the adb to pull a specific apk file to my PC, for example, adb pull /data/app/com.google.android.gm-1.apk C:\my-hacks which pull gmail's apk ...
user1469051's user avatar
2 votes
0 answers
448 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 ...
Paul's user avatar
  • 121
2 votes
1 answer
6k views

How can I make it so that any user can chmod in my fuse-mounted ext4-formatted /sdcard?

I have an ASUS Transformer Pad TF101. I finally got round to rooting it just now. Important: /sdcard is not FAT32. It's a fuse filesystem based in ext4. So it is capable of using chmod. So that I ...
Chris Morgan's user avatar
0 votes
1 answer
7k views

Change permission on file in /sys folder

I am trying to turn off the backlight on the soft keys (home, menu, back and search). My phone is a HTC Evo 3D running Ice Cream Sandwich. Before, I had Gingerbread installed and I could use "Screen ...
Tahir Hassan's user avatar
3 votes
2 answers
5k views

ADB 'su: permission denied' in recovery mode on rooted device

ADB 'su' command returns 'su: permission denied' on a fully rooted device in recovery mode. I can modify folders and files that require root access on phone (when it's booted). ADB also works when it'...
Key-Six's user avatar
  • 207
12 votes
2 answers
45k views

adb "Permission denied" to run a "./configure" file

I need to run a configure file into my android phone so I think the best way to do this is to use the adb shell command. I'm running an Android emulator onto a Windows-7 platform, and there I'm ...
grattmandu03's user avatar
-2 votes
1 answer
4k views

What does it mean by "Set permissions read, write / read, write / none for *.db file"?

I've come across a *.apk where permissions are needed to be set to the *.db file. But I don't know what's it meaning. Help?
Ahmadul Hoq's user avatar
0 votes
3 answers
8k views

Can't delete any files in my download folder

asus sl101 slider running cyanogenmod 10 This problem actually started around when I upgraded to cm9.1 and I think I got an error that my android profile had changed or something. from that day ...
Joshua Robison's user avatar
11 votes
1 answer
18k views

Why can I not assign exec permissions to a file on the SD card?

shell@android:/sdcard/SW # ls -l -rw-rw-r-- root sdcard_rw 128 2012-09-22 11:42 usb0config.sh shell@android:/sdcard/SW # chmod 777 usb0config.sh shell@android:/...
Victor S's user avatar
  • 223
4 votes
3 answers
7k views

Can't access my old files after switching ROM from AOKP to CM, even though they're still there

Initially I thought this was a problem with Google Play / Apollo, but I realize now that when I plug in my phone via USB, I can't see any of the many, many folders and files present on /sdcard that I ...
pzkpfw's user avatar
  • 2,290