From owner-freebsd-questions Sat Apr 11 12:34:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA23410 for freebsd-questions-outgoing; Sat, 11 Apr 1998 12:34:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason04.u.washington.edu (root@jason04.u.washington.edu [140.142.78.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA23339 for ; Sat, 11 Apr 1998 12:34:15 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from saul6.u.washington.edu (root@saul6.u.washington.edu [140.142.82.1]) by jason04.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id MAA19446; Sat, 11 Apr 1998 12:34:14 -0700 Received: from s8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul6.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP id MAA08203; Sat, 11 Apr 1998 12:34:14 -0700 (PDT) Date: Sat, 11 Apr 1998 11:33:01 -0700 (PDT) From: "Jason C. Wells" X-Sender: jason@s8-37-26.student.washington.edu Reply-To: "Jason C. Wells" To: Richard Broza cc: Mike72757 , freebsd-questions@FreeBSD.ORG Subject: Re: bsdunix version 2.2.5 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > what your describing you are trying to execute the /usr directory, just to > point you can't execute directories unless there is a executable file You cannot "execute" a directory at all. At least not like you "execute" a program. The term "execute" takes a special meaining when it refers to the permissions of a directory. A directory that has an "executable" permission set is searchable. You can list files in the directory that allows you to "execute" (ie search) that directory. The "executability" of a program is a seperate but related issue. Which is discussed by the previous poster. The rest of this is valid. > within that directory. Example to a exec a file within a dir.. the syntax > is : > > // ie.. /usr/thefile > or /usr/X11R6/bin/thefile Have fun, | Stop warning me about the latest virus. Learn more... Jason Wells | http://ciac.llnl.gov/ciac/CIACHoaxes.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message