negative group permissions?

jb jb.1234abcd at gmail.com
Wed Feb 29 17:30:28 UTC 2012


Ian Lepore <freebsd <at> damnhippie.dyndns.org> writes:

> ... 
> Again, the problem here seems to be the use of 0661 in the lpr program,
> not the idea of negative permissions, not the new scan for the use of
> negative permissions.

This will go away after the fix below is applied.

>  It's just an old bug in an old program which used
> to be harmless and now is "mostly harmless".  Instead of trying to "fix"
> it by causing the new scan to ignore it, why don't we fix it by fixing
> the program?  (I'd submit a patch but it's a 1-character change -- it's
> not clear to me a patch would be easier for a commiter to handle than
> just finding and changing the only occurrance of "0661" in lpr.c.)
> 

Yes, that's what we suggested, in PR filed as well.
Let's change lpr.c so that the .seq create permission is 0664.
jb
 





More information about the freebsd-current mailing list