New bug in openoffice-devel and fix for "AutoPilot" bug
Bartosz Fabianowski
freebsd at chillt.de
Tue Apr 1 22:15:03 PST 2003
Hi,
I've just built the most current openoffice-devel (644 snapshot
20030412) from ports on a 4-STABLE box and have run into all the known
bugs as well as one that I have not seen documented anywhere yet.
Whenever I'm opening a file that contains any sort of formatting (i.e.
not a simple text file) or saving a file, OpenOffice.org wants to create
a temporary file for this operation. Unfortunately, for some reason the
"Temporary Files" path does not get set by the setup program, neither
during network installation nor during workstation installation.
Therefore, the path is set to the default value of
"/usr/local/OpenOffice.org-644/program" for all users. Of course, only
root has write permissions and so OpenOffice.org reports an error
instead of reading or writing files when run as any user but root. The
relevant ktrace output is:
223 soffice.bin CALL open(0xbfbfd780,0xa02,0x1b6)
223 soffice.bin NAMI "/usr/local/OpenOffice.org-644/program/svcki.tmp"
223 soffice.bin RET open -1 errno 13 Permission denied
The problem can be solved by setting the "Temporary Files" path to
"/var/tmp" manually in the OpenOffice.org "Options" dialog and
restarting the program. It certainly seems like a bug in the setup
program, but since nobody seems to have ever reported such a bug on
Linux yet, I assume it must have something to do with the port.
Itis interesting to note that at least on my system, setting the
"Temporary Files" path to a directory where I have write permissions and
restaring the program also fixes the crash reported when clicking on
"File->AutoPilot->Report".
- Bartosz
More information about the freebsd-openoffice
mailing list