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
2
votes
1answer
724 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
476 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
2k 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
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 ...
5
votes
3answers
12k 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. ...
6
votes
1answer
11k 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/...
3
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
844 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
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-...
2
votes
0answers
55 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
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 ...
2
votes
0answers
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 ...
1
vote
1answer
3k 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 ...
3
votes
1answer
5k 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. ...
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 ...
4
votes
3answers
31k 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 '/...
-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 ...
2
votes
0answers
694 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/...
0
votes
1answer
998 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 ...
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
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 ...
0
votes
0answers
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 ...
1
vote
1answer
520 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.
1
vote
2answers
2k 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 /...
3
votes
1answer
6k 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 ...
-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 ...
0
votes
1answer
9k 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 ...
2
votes
0answers
128 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 ...
3
votes
2answers
15k 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
2answers
826 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 ...
0
votes
0answers
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 ...
2
votes
3answers
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. ...
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 ...
1
vote
1answer
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 ...
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
2k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
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 ...
1
vote
1answer
6k 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 ...
1
vote
1answer
37k 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 ...
0
votes
0answers
151 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 ...
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 ...
1
vote
1answer
7k 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 ...
1
vote
1answer
4k 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 ...
5
votes
1answer
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 ...
0
votes
1answer
195 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 ...
0
votes
2answers
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 ...
2
votes
0answers
440 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 ...
2
votes
1answer
5k 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 ...
0
votes
1answer
6k 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 ...