OpenOffice across NFS

I used to use samba for sharing files on my home network (most of my data is on a “server”) but it seemed to have nasty problems with wireless. It turns out NFS copes far better and allows mp3’s to stream nicely, so I fixed my IP address and got that setup (pretty easy actually).

The only problem I have found so far is that by default does not like to edit files across NFS as it wants to be able to lock files. I am not sure if you can allow file locking across NFS or not, but I found a workaround for OpenOffice, and I am not going to have a problem editing the same file from two places anyway.

Simply edit /usr/lib/openoffice/program/soffice (or /opt/openoffice2/program/soffice on non-debian distros) and comment out the lines

# file locking now enabled by default

and you can now open documents across NFS in write mode!

About Anton Piatek

Professional bit herder, amateur photographer. Linux and tech geek
This entry was posted in Debian. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.