Il Mar 04 Giu 2013 10:54:55, pedro-d-assuncao@ext.ptinovacao.pt ha scritto:
Show quoted text>
> Insecure dependency in open while running setuid at
> /usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Tiny.pm line 99.
I added file_insecure, file_create and file_append options to both new() and easy_init().
file will always remain "insecure" to keep compliance to Log::Log4perl.
If you need to use the module in setuid, you should probably look at file_create or file_append.
I also seem to remember that setuid is very close to taintedness, so you should probably try and "laundry" your filename before using it.
The new release of the module will be on CPAN shortly, first as a developer release. The final code in in Github though.
I cannot test setuid because I suspect my system does not allow me to enable it. It would be great if you did and report on it.
Regards,
Flavio.