I've added my folder's path to the bashrc, in linux mint 15. Which contains my scripts. My scripts supposed to work like the bash scripts, as I know. But every time I try to use one of my scripts the following error appears: bash: /bin/myscript: permission denied
And this is the export line:
export PATH=$PATH:/home/peter/myscripts/
I logged in as root.
You might have forgotten to give your scripts execution permissions:
chmod a+x /path/to/the/script
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With