Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Permission denied in terminal (Lollipop) #35

Open
Mu99u opened this issue Apr 9, 2015 · 7 comments
Open

Permission denied in terminal (Lollipop) #35

Mu99u opened this issue Apr 9, 2015 · 7 comments

Comments

@Mu99u
Copy link

Mu99u commented Apr 9, 2015

Hi Kos, hats off to ur efforts really nice project..I have moto g 1st gen with lollipop.. I tried the method as in terminal I typed su then #/sdcard/p2p-adb-master/run.sh but it shows permission denied :( ..plz help..

@denzuko
Copy link

denzuko commented Apr 22, 2015

Did you remember to set the executable bit on run.sh?

@duramato
Copy link

@Mu99u & @denzuko i found a solution ,if you copy it to the root of our phone like /data/local (which was what i used) it works but if i leave it on the sdcard i get permission denied

@denzuko
Copy link

denzuko commented Aug 26, 2015

@duramato good find on the work around. but what caused this? Is the sdcard being mounted noexec? What about file permissions and acl policies?

@duramato
Copy link

@denzuko yes i believe its from the noexec part that blocks any execution of scripts ,etc from there

@denzuko
Copy link

denzuko commented Aug 26, 2015

Well if that's the case, then wouldn't a better work around be to execute mount -o remount,exec /sdcard?

@duramato
Copy link

that does seem to work on my device i believe the sdcard is emulated

@denzuko
Copy link

denzuko commented Mar 23, 2016

@kosborn Looks like we can close this one as resolved

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants