From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 14:21:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 836AB16A41F for ; Thu, 17 Nov 2005 14:21:28 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD6F043D68 for ; Thu, 17 Nov 2005 14:21:24 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 12382 invoked from network); 17 Nov 2005 14:21:24 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Nov 2005 14:21:24 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 4BA0728441; Thu, 17 Nov 2005 09:21:23 -0500 (EST) Sender: lowell@be-well.ilk.org To: blue.raccoon@wanadoo.nl To: freebsd-questions@freebsd.org References: <200511171210.10199.blue.raccoon@wanadoo.nl> From: Lowell Gilbert Date: 17 Nov 2005 09:21:23 -0500 In-Reply-To: <200511171210.10199.blue.raccoon@wanadoo.nl> Message-ID: <44lkznfj8c.fsf@be-well.ilk.org> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: Everything on FAT is executable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 14:21:28 -0000 Blue Raccoon writes: > I have mounted my Windows FAT32 partitions. Read & Write works fine, but every > single file on the mounted drives is 'seen' as executable. And that doesn't > change when a file is copied to the UFS partition. This, I think, is asking > for trouble. > > (How) can I change this? Note that this happens because FAT doesn't have any concept of an executable setting. In most cases, this isn't really a problem, just an annoyance. Users can always change the permissions of files they own anyway. And if they copy something from the FAT partition to the UFS partition, they own the copy. mount_msdosfs(8) has a -m option (and -M, so you can still have the directories executable) to change the observed permissions. It's an all-or-nothing solution, but that's probably what you want anyway.