*** Jan-Oliver Wagner <[email protected]> wrote:
> On Freitag, 5. März 2010, Michael Meyer wrote:
> > 
> > If "/var/lib/openvas/tmp/" does not exist, create it.
> > Whatever. That should not happen. I'll fix nmap.nasl today.
> > Then nmap should run even if the tmpdir does not exist.
> 
> IMHO we should strictly avoid anything going into /var/lib/openvas/tmp.
> Better use the glib method to get temporary files under /tmp

Yes, sure! But:

,---[ nmap.nasl ]
| tmpdir = get_tmp_dir();
`---|

So, "/var/lib/openvas/tmp/" is returned by get_tmp_dir() in this case.
There is no "hardcoded" tmp dir in nmap.nasl.

Maybe related to
"http://wald.intevation.org/tracker/?group_id=29&atid=220&func=detail&aid=1170";?

@Yungwei; What is you OpenVAS Version?

Micha

-- 
Michael Meyer                                         OpenPGP Key: 76E050B9
http://www.intevation.de
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück; AG Osnabrück, HR B 18998
Geschäftsführer:   Frank Koormann,  Bernhard Reiter,  Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to