I have a storage drive I normally mount just clicking on the disc in the file browser. However, I want to be able to run some bash scripts from that drive. When I try ./script.sh I get Permission Denied. How can I set it up so I can run scripts from this drive?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||||
|
Work AroundThere is a simple work around, instead of
Or
You should check the first line of script.sh to confirm which shell to use. Manual MountMount with command line, you can use the
If the disc is automounted, you will have to un-mount(not eject) it with file manager first. udiskThis is the complicated way and is answered in this post. |
|||||||||||
|
