From mboxrd@z Thu Jan 1 00:00:00 1970 From: "George Iosif" Subject: Re: Making directories non-executable? Date: Wed, 24 Mar 2004 08:47:27 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: jens@surefoot.com Cc: linux-admin@vger.kernel.org There is an option when mounting partitions: noexec . It is advisable to have a separate partition for /tmp (if this is the directory you're trying to make it a "non executable medium") and mount it with noexec (and nosuid) option(s). George Iosif