Skip site navigation (1)Skip section navigation (2)
Date:      24 Aug 2003 13:56:17 +0200
From:      Alexander Pohoyda <alexander.pohoyda@gmx.net>
To:        "Anil Garg" <anilg@niksun.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: executable folder
Message-ID:  <8765knl15q.fsf@oak.pohoyda.family>
In-Reply-To: <023a01c3623a$20c85150$1e003c0a@niksuntest>
References:  <023a01c3623a$20c85150$1e003c0a@niksuntest>

next in thread | previous in thread | raw e-mail | index | archive | help
"Anil Garg" <anilg@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"
aaa/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@gmx.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8765knl15q.fsf>