negative group permissions?

jb jb.1234abcd at gmail.com
Wed Feb 29 08:54:40 UTC 2012


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







More information about the freebsd-current mailing list