From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 18:48:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A7EA16A41F for ; Thu, 1 Dec 2005 18:48:30 +0000 (GMT) (envelope-from blue.raccoon@wanadoo.nl) Received: from smtp05.wanadoo.nl (smtp05.wanadoo.nl [194.134.35.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7C6143D5E for ; Thu, 1 Dec 2005 18:48:29 +0000 (GMT) (envelope-from blue.raccoon@wanadoo.nl) Received: from raccoon.com (adsl-dc-45560.adsl.wanadoo.nl [83.118.243.96]) by smtp5.wanadoo.nl (Postfix) with SMTP id 8EC593906D; Thu, 1 Dec 2005 19:48:28 +0100 (CET) Date: Thu, 1 Dec 2005 19:48:50 +0100 From: Blue Raccoon To: Giorgos Keramidas Message-Id: <20051201194850.42578863.blue.raccoon@wanadoo.nl> In-Reply-To: <20051201181512.GA63703@flame.pc> References: <20051201173603.3E9EC16A427@hub.freebsd.org> <20051201185956.ee767f97.blue.raccoon@wanadoo.nl> <20051201181512.GA63703@flame.pc> X-Gratia: Eve ryth ingis gon nabeal right X-Mailer: Sylpheed 2.1.7 (FreeBSD 6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Can't run scripts no more: "permission denied" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 18:48:30 -0000 On Thu, 1 Dec 2005 20:15:12 +0200 Giorgos Keramidas 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