From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 29 19:25:10 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0167D1065672 for ; Tue, 29 Apr 2008 19:25:10 +0000 (UTC) (envelope-from kris@pcbsd.com) Received: from pcbsd.ixsystems.com (pcbsd.ixsystems.net [206.40.55.78]) by mx1.freebsd.org (Postfix) with ESMTP id E1D278FC1A for ; Tue, 29 Apr 2008 19:25:09 +0000 (UTC) (envelope-from kris@pcbsd.com) Received: from [192.168.0.55] (24-159-181-153.dhcp.kgpt.tn.charter.com [24.159.181.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pcbsd.ixsystems.com (Postfix) with ESMTP id 8ACEC1460403 for ; Tue, 29 Apr 2008 19:03:35 +0000 (UTC) Message-ID: <481771DD.7010007@pcbsd.com> Date: Tue, 29 Apr 2008 15:07:09 -0400 From: Kris Moore User-Agent: Thunderbird 2.0.0.12 (X11/20080310) MIME-Version: 1.0 To: freebsd-gnome@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Question about noexec flag in HAL X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 19:25:10 -0000 Hopefully just a quick question. In the past I've had to compile HAL with a patch to disable the noexec flag from being used when mounting CD's. The lines in question are below: tools/hal-storage-mount.c #ifdef __FreeBSD__ #define MOUNT "/sbin/mount" -#define MOUNT_OPTIONS "noexec,nosuid" +#define MOUNT_OPTIONS "nosuid" #define MOUNT_TYPE_OPT "-t" This has been rather of a pain, since I don't want to keep making a custom patch to remove this flag. Is there some other easy way to remove the noexec flag from being used in CD mounting? I've tried by putting this in my /usr/local/etc/hal/fdi/policy/preferences.fdi file: false However, it doesn't seem to make a difference :( Any other hints? Or am I stuck patching HAL itself? -- Kris Moore PC-BSD Software http://www.pcbsd.com