Can't run scripts no more: "permission denied"

Blue Raccoon blue.raccoon at wanadoo.nl
Thu Dec 1 10:48:30 PST 2005


On Thu, 1 Dec 2005 20:15:12 +0200
Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:


> When did those scripts run fine?  What did you change since then?

First of all I've been stupid. I used
# ./ script.name
when I should have used
# ./script.name

Apparently, this is what causes the "permission denied". And I now remembered I started doing it this (wrong) way because I could not run the 'sylpheed' script. As a newbie I had doubts... maybe there should be a space?...

But the 'sylpheed' script still would not run: "command not found". There is only one command in the file (which works fine on the command line) and a comment: #!/bin/bash
I copied the script from the web. But apparently the comment is not a comment. When I remove it the script works (not from firefox, but that's a different problem).

I'll go wipe the egg off my face now.

- and thanks.

-- 
Jay


More information about the freebsd-questions mailing list