From owner-freebsd-questions@FreeBSD.ORG Mon May 9 05:10:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EE83106566B for ; Mon, 9 May 2011 05:10:00 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD4B8FC08 for ; Mon, 9 May 2011 05:09:59 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-232-63.pitbpa.east.verizon.net [96.236.232.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id E1CD8D5AFD for ; Mon, 9 May 2011 01:09:58 -0400 (EDT) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id D760A5CAC for ; Mon, 9 May 2011 01:09:57 -0400 (EDT) Date: Mon, 9 May 2011 01:06:31 -0400 From: Janos Dohanics To: FreeBSD Questions Message-Id: <20110509010631.531da46f.web@3dresearch.com> In-Reply-To: References: X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Newbie Needing Help 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: Mon, 09 May 2011 05:10:00 -0000 On Sun, 8 May 2011 17:17:48 -0700 John or Judy Hixson wrote: > [...] > Another problem that's throwing me for a loop is that even though I'm > logged in as root I'm getting a "permission denied" return when I > list a file (e.g. /etc/fstab) and press enter. When you enter a file name at the prompt, such as /etc/fstab, and you receive the response "permission denied", it is because /etc/fstab is not an executable file. Entering just the file name will cause the shell to try to execute the file, but this file has no permission to be executed, (even by root). You can view the permissions for this file by entering: ls -l /etc/fstab and you'll see something similar to this: -rw-r--r-- 1 root wheel 278 Sep 28 2008 /etc/fstab ^ ^ ^ However, for example, the file /bin/ls is executable: -r-xr-xr-x 1 root wheel 29656 Dec 11 2009 /bin/ls ^ ^ ^ Michael Lucas' book is a great way to get started. You can read many of his tutorials at http://oreilly.com/pub/ct/13. I have also found Dru Lavigne's series of articles "FreeBSD Basics" a great resource (http://oreilly.com/pub/ct/15). -- Janos Dohanics