From owner-freebsd-openoffice@FreeBSD.ORG Tue Apr 1 22:15:03 2003 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F255437B401 for ; Tue, 1 Apr 2003 22:15:02 -0800 (PST) Received: from undo.chillt.de (p26.nas3.wlg.callplus.net.nz [202.180.85.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D463543F75 for ; Tue, 1 Apr 2003 22:14:59 -0800 (PST) (envelope-from freebsd@chillt.de) Received: from chillt.de (localhost [127.0.0.1]) by undo.chillt.de (8.12.9/8.12.9) with ESMTP id h326F5LP000556 for ; Wed, 2 Apr 2003 18:15:07 +1200 (NZST) (envelope-from freebsd@chillt.de) Message-ID: <3E8A7FE9.4030803@chillt.de> Date: Wed, 02 Apr 2003 18:15:05 +1200 From: Bartosz Fabianowski User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC) X-Accept-Language: en-us, en MIME-Version: 1.0 To: openoffice@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: New bug in openoffice-devel and fix for "AutoPilot" bug X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 06:15:03 -0000 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