How to run a script under SD target

Asked by Drwd on 2016-01-15

Hello guys, I want to know how to run my script under SD. Yeah I want to run the script..

But the phone does not allow me to do it: Let me explaint

The script is in SD | I want to run the script by normal partition /home/phablet

So, the SD is:


The script is ipt

So I want to run the script in


Run the script in SD by /home/phablet

Ubuntu told me permission denied

So I mean, I want to run /media/phablet/BF57-03B0/ipt



Question information

English Edit question
Ubuntu Terminal App Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

cd (change directory) to your target directory, and call the script with its full file name including directory.

Probably something like

cd /home/phablet

If you get "permission denied", then there is something wrong with the file or device protection settings.
Is the execution bit set on that script?

chmod +x /media/phablet/BF57-03B0/ipt

can help.

Drwd (gallito-loquito-2012) said : #2

Hello Manfred, thanks, but yes I have problem

I did ch mod and run the script by way you said

So I don't know what is wrong. Only I want to run the script under SD, help me! Dude lol

Drwd (gallito-loquito-2012) said : #3

Ok I think I find out the solution lol

cd /media/phablet/BF57-03B0 & ipt

And It work fine, thanks guy

Manfred Hampl (m-hampl) said : #4

What is the output of

ls -l /media/phablet/BF57-03B0/ipt

Drwd (gallito-loquito-2012) said : #5

I bypass the permission denied. Im so happy.