Apache OpenOffice (AOO) Bugzilla – Issue 22238
saving documents does not work with OOo 1.1.0 on OSX
Last modified: 2007-06-25 22:46:52 UTC
OOo 1.1.0 for Mac OS X, as downloaded from ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/OpenOffice/contrib/MacOSX/OOo_1.1.0_031006_MacOSX_install_en.tar.gz cannot save documents (at least not text documents). When I try to save a text document, I get a message saying that an error occurred and the document could not be saved. OS: Mac OS X 10.2.8 Filesystem: Mac OS Extended (the default filesystem, NOT UFS!) X-Server: Apple X11 Beta 3 Installation: network-install as "root" (./setup -net) into /usr/local/OpenOffice.org1.1.0/, then workstation-install as non-admin user
Here is the exact error message: "Error saving the document Untitled1: Write Error: The file could not be written." The filesystem type apparently does not seem to be an issue. I tried writing onto UFS- and Fat32-formatted disk images, both failed, even though the permissions were all set correctly.
Then again, it could of course be that there is an incompatibility with all three filesystems I have tried... ;-)
Hi, I can not recreate this with that same build but I did not do a -net install. I can write files fine. Please try a "Save As" and 1. make sure you have pointed to a place where the user has the correct write permissions. 2. make sure there is not already an existing file of the same name that does not have write permsission disabled 3. Try saving a file as root to see if that prevents the problem or not. 4. As a last resort, please try reinstalling and not using a -net install and see if the problem is somehow related to the -net install option. I would guess that very few people using MacOSX have done a -net install with 1.1.0 builds yet so perhaps there is a latent issue there. Please let us know what you find. (meanwhile I will remove my non-net install and make a net install with my own build tree and try to recreate your issue sometime this weekend). Thanks, Kevin
Seems I located the bug: it's indeed the network install. Here is what I have tried: 1) after doing a regular non-net install as "root" straight from the unpacked distribution (all settings left at default), saving as "root" _does_ work (tested by running OpenOffice.org1.1.0/program/swriter from within the home-dir) 2) the same works when done as non-root user instead of "root" 3) now after doing a network install as "root" (again, all settings left at default) followed by a workstation install as non-root user, saving as non-root user does _not_ work (tested by running /opt/OpenOffice.org1.1.0/program/swriter) By the way, is it OK to change the issue status to STARTED, now?
Hi, Yes, I can confirm this and even better I have both a patch to fix this and a workaround. I just posted the patch to dev@porting.openoffice.org tonight so it should make it in time for OOo 1.1.1 The problem was that the Temporary Files directory was not being set properly (it pointed at someplace that a normal user did not have access to). To workaround this issue 1. startup OpenOffice.org as a normal user after a workstation install 2. go to Tools->Options->OpenOffice.org->Paths 3. Change the Path entry for "Temporary Files" to /var/tmp/ 4. Hit Okay then shutdown out of OpenOffice.org 5. Restart OpenOffice.org You should now be able to save files with no problems. So yes, this is confirmed and I have changed it to "Started" and hopefully, once the patch gets accepted, all will be fine (I have tested it in my own OOo pre-1.1.1 tree for MacOSX. Thanks for your bug report! Kevin
Hi, Re-assigning this issue to me since I already have a patch ready to be committed to OOo 1.1.1 or cws_srx645_ooo11rcmac. Kevin
Changed priority to P3, was accidentally set too low initially.
Hi, This is now part of the OOo rcmac tree so closing this. Kevin
close issue.