Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 1998 11:33:01 -0700 (PDT)
From:      "Jason C. Wells" <jcwells@u.washington.edu>
To:        Richard Broza <wwolf@rogers.wave.ca>
Cc:        Mike72757 <Mike72757@aol.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: bsdunix version 2.2.5
Message-ID:  <Pine.BSF.3.96.980411112514.194C-100000@s8-37-26.student.washington.edu>
In-Reply-To: <Pine.BSF.3.96.980411043544.5937A-100000@avalon.ns.bc.rogers.wave.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 : 
> 	
>    	      /<directory>/<name of file> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980411112514.194C-100000>