On Thu, Dec 05, 2002 at 06:33:35PM +0100, Jerome Warnier wrote: > I list them here, please notice that they also create the whole path to > these directories. I also have to bring your attention to the fact that > these creation takes the value of the HOME env variable, not what's to > be found in /etc/passwd (or getent). > I cannot tell, though, if it is due to builing package openoffice.org or > openoffice.org-debian-files. > > .netscape/plugins/ > .netscape6/plugins/ > .gnome/apps/OpenOffice.org 1.0.1/ > .kde2/share/applnk/OpenOffice.org\ 1.0.1/
Yes, now that you say that, I can see them too - I do my Woody backports in
an otherwise empty chroot and I can see from the timestamps that they were
created during the build of the packages.
A 'grep -sr .netscape6' turned up suspicious code very quickly:
build-tree/oo_1.0.1_src/setup2/jsnative/nunxos.cxx: strcat( buf,
"/.netscape6/plugins" );
Looking at that file, I see stuff like this:
void UnxOS::getNS6PluginDir(char* buf)
{
const char* pEnv = getenv( "HOME" );
if( pEnv )
{
strcpy( buf, pEnv );
strcat( buf, "/.netscape6/plugins" );
if ( access( buf, F_OK ) != 0 )
{ // create the directory
strcpy( buf, pEnv );
strcat( buf, "/.netscape6" );
makeDir( buf, 755 );
strcat( buf, "/plugins" );
makeDir( buf, 755 );
}
return;
}
Time to file an issue.
http://www.openoffice.org/issues/show_bug.cgi?id=9879
Chris
pgpzalmt4WVXV.pgp
Description: PGP signature

