Re: negative group permissions?

From: jb <jb.1234abcd_at_gmail.com>
Date: Wed, 29 Feb 2012 08:54:20 +0000 (UTC)
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
Received on Wed Feb 29 2012 - 07:54:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC