From owner-freebsd-arch Mon Jan 21 19:22:29 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 0A6C537B404 for ; Mon, 21 Jan 2002 19:22:23 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g0M3MJ290659; Mon, 21 Jan 2002 19:22:19 -0800 (PST) (envelope-from dillon) Date: Mon, 21 Jan 2002 19:22:19 -0800 (PST) From: Matthew Dillon Message-Id: <200201220322.g0M3MJ290659@apollo.backplane.com> To: Eugene Grosbein Cc: 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> <200201211727.g0LHRBG03770@apollo.backplane.com> <20020122095553.A83831@svzserv.kemerovo.su> 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 :On Mon, Jan 21, 2002 at 09:27:11AM -0800, Matthew Dillon wrote: : :> :> 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. : :Does it mean this path will not be commited even after code freeze? : :Eugene Grosbein Correct. I don't even know if the patch should be comitted at all, even after the freeze. It seems like such a huge hack just to get around the fact that somebody is actually trying to read files from an msdosfs mount using midnight commander. There are many, many problems using msdosfs as a general purpose filesystem, above and beyond the fact that the 'execute' bit gets set on everything. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message