From owner-freebsd-arch Mon Jan 21 9:27:48 2002 Delivered-To: freebsd-arch@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 334F337B4A1 for ; Mon, 21 Jan 2002 09:27:39 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g0LHRBG03770; Mon, 21 Jan 2002 09:27:11 -0800 (PST) (envelope-from dillon) Date: Mon, 21 Jan 2002 09:27:11 -0800 (PST) From: Matthew Dillon Message-Id: <200201211727.g0LHRBG03770@apollo.backplane.com> To: Eugene Grosbein Cc: Eugene Grosbein , arch@FreeBSD.ORG Subject: Re: [PATCH] msdosfs: differrent masks for directories and other files References: <20020120102521.A450@grosbein.pp.ru> <200201210638.g0L6cFO01596@apollo.backplane.com> <3C4BB9E5.E7E63C29@www.kuzbass.ru> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :> Why not simply mount the filesystem with the 'noexec' flag? : :This does not turn 'executable' bit off from files :and therefore does not prevent midc from 'executing' archives :instead of 'entering into' them. Ah. It kinda sounds like midc itself should be hacked as an 'official' solution rather then msdosfs, but I think you've done an excellent job to deal with your own users. -Matt :> The patch looks fine, but I don't like the idea of such a targeted :> hack being added to the mount code and we definitely do not want to :> go changing msdosfs's mount structure just before the release either. : :I understand this wouldn't be wise. The patch is for 4.5-RC1 just because :I run it now :-) Of course, it should be tested in CURRENT first as usual :but I just have not CURRENT and there is no need to rush before release. : :Eugene Grosbein -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message