On Sun, 8 May 2011 17:17:48 -0700 John or Judy Hixson <johnorj...@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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"