From owner-freebsd-bugs Fri Jun 7 10: 2:41 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DB14E37B42B for ; Fri, 7 Jun 2002 10:00:18 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g57H0C645055; Fri, 7 Jun 2002 10:00:12 -0700 (PDT) (envelope-from gnats) Date: Fri, 7 Jun 2002 10:00:12 -0700 (PDT) Message-Id: <200206071700.g57H0C645055@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: neologism Subject: Re: kern/38986: a change to msdosfs permissions behaviour according to noexec Reply-To: neologism Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/38986; it has been noted by GNATS. From: neologism To: Ceri Davies Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/38986: a change to msdosfs permissions behaviour according to noexec Date: Fri, 7 Jun 2002 18:53:24 +0200 On Fri, Jun 07, 2002 at 05:15:52PM +0100, Ceri Davies wrote: > On Fri, Jun 07, 2002 at 12:43:56PM +0200, neologism wrote: > > > > Current implementation of permission checking in msdosfs doesn't reflect > > setting of noexec at mount time. I'm sending a patch which changes this > > behaviour. Now if noexec is set rights are set to 644 instead of 755. > > I hope its done the right way. > > Note that I'm not disputing this patch, I just wonder if it's necessary or > just adding more strangeness to msdos filesystems. it's very small so I consider it no problem > Mounting an ffs filesystem noexec doesn't do this - is there any reason why > msdosfs ones should ? ffs has permissions unix way, msdosfs doesn't. You simply cannot set chmod a-x * ! I want this for comfortable MC (midnight commander) browsing through files. You know click enter on .gz file opens it. If it is not +x. But if it hurts so much... > Just something for whoever may want to commit this to think about. It's up to you to decide... > Ceri Roman Divacky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message