OpenOffice.org NFS File Locking

If like me, you are using NFS file sharing you may run into the problem of OpenOffice.org not opening files or being unable to save files on network mounted filesystems.

The work around for this is simple enough to do, but must be done after each update to OpenOffice.org.

Under Fedora you need to edit /usr/lib/openoffice.org/program/soffice this is a bash script which launches the appropriate OpenOffice.org application. and locate the following on lines 42-44

# file locking now enabled by default
SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

Simply put a # infront of lines 43 and 44 so it looks like

# file locking now enabled by default
#SAL_ENABLE_FILE_LOCKING=1
#export SAL_ENABLE_FILE_LOCKING

Save your changes. This will enable saving and editing documents on NFS filesystems.

About kimberly 190 Articles

I’m an Electronics Service Technician by day. By night I’m an Application Developer, Embedded Software Developer, Mountain Biking chic. Currently starting to put together some home automation projects which I’ll be posting progress on the site.

Be the first to comment

Leave a Reply