Date: Mon, 9 May 2011 01:06:31 -0400 From: Janos Dohanics <web@3dresearch.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Newbie Needing Help Message-ID: <20110509010631.531da46f.web@3dresearch.com> In-Reply-To: <C9F6205F-EFEC-484C-B97E-01046AF89502@earthlink.net> References: <C9F6205F-EFEC-484C-B97E-01046AF89502@earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 May 2011 17:17:48 -0700 John or Judy Hixson <johnorjudy@earthlink.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110509010631.531da46f.web>