executable folder

Alexander Pohoyda alexander.pohoyda at gmx.net
Sun Aug 24 04:56:26 PDT 2003

"Anil Garg" <anilg at niksun.com> writes:

> As exectuable file means it can be executed by './' ..but whats the
> significance of and executable directory (i.e a director with executable
> rights).

You can't search in the directory without executable rights:
$ mkdir aaa
$ touch aaa/bb
$ find aaa/ -name "bb"
$ chmod a-x aaa/
$ find aaa/ -name "bb"

You cannot delete the directory if it's not empty:
$ rm -rf aaa/
rm: aaa/: Directory not empty

Alexander Pohoyda
<alexander.pohoyda at gmx.net>

More information about the freebsd-questions mailing list