Date: Fri, 7 Jun 2002 10:00:12 -0700 (PDT) From: neologism <neologism@seznam.cz> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/38986: a change to msdosfs permissions behaviour according to noexec Message-ID: <200206071700.g57H0C645055@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/38986; it has been noted by GNATS. From: neologism <neologism@seznam.cz> To: Ceri Davies <setantae@submonkey.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206071700.g57H0C645055>