Date: Wed, 29 Feb 2012 08:54:20 +0000 (UTC) From: jb <jb.1234abcd@gmail.com> To: freebsd-current@freebsd.org Subject: Re: negative group permissions? Message-ID: <loom.20120229T094253-10@post.gmane.org> References: <20120228092244.GB48977@mech-cluster241.men.bris.ac.uk> <loom.20120228T155607-690@post.gmane.org> <20120228162447.GB58311@mech-cluster241.men.bris.ac.uk> <20120229072458.GA95427@DataIX.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jason Hellenthal <jhellenthal <at> dataix.net> writes: > ... > > > The file should not be executable, according to its purpose. > > > > > > So the lpr.c should be changed from > > > if ((fd = open(buf, O_RDWR|O_CREAT, 0661)) < 0) { > > ... > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/165533 > ... > Above I see your .seq file created 0641 so not only do you have a > negative permission on the file you are also missing a bit ;). 0641 ? Are you sure ? > ... > I attempted to search around for the history of 661 on .seq but cannot > find any at the moment. E_LACKINGSLEEP Check the PR filing again - I appended a relevant comment. Also, Linux distros (if you can swallow it ...) also disallowed it due to sec reason, but in a clumsy way by making sure the "exec" permission is turned off in a package install script. jb
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20120229T094253-10>