Hi forum
I'm having some bother with LibreOffice accessing documents on a remote NFS server, in a small office environment.
NFS server is running on linux CentOS host, serving a directory of thousands of documents.
Multiple users having LibreOffice workstations on linux, which I'm hoping to change to FreeBSD. (Also currently some windoze connecting by samba.)
All users can read and write the documents as normal.
Documents can be opened read-only when another user already has access.
This has been working reliably for many years.
I have a fresh FreeBSD 13.2 workstation, running KDE-plasma and LibreOffice, all installed from packages.
The remote NFS share is successfully mounted as /mnt/nfs.
From the command line of FreeBSD workstation, I can read and write files in the remote /mnt/nfs directory as normal.
But LibreOffice is not so happy.
/etc/rc.conf includes the following lines :
/etc/fstab includes the following lines :
On the CentOS NFS server, /etc/exports includes the following line :
Yes, the FreeBSD host is in the above subnet.
When I try to use LibreOffice on FreeBSD to open any file in /mnt/nfs, I gets a message :
"The file has been locked by another user. You can open it read only, etc".
This message is repeated for every file, including files that are NOT being open by any other user.
Also, LibreOffice from FreeBSD cannot write a new file to /mnt/nfs. "Error writing file."
LibreOffice on FreeBSD can happily read and write documents to $HOME directory, so the issue seems to caused by remoteness.
How do I get LibreOffice to open the nfs remote files correctly ?
It seems I'm having some issues with access rights and permissions, or NFS file locking ?
Pleases and thankyous for any clues to flatten this wrinkle, and help to get my LibreOffice on FreeBSD working as intended.
I'm having some bother with LibreOffice accessing documents on a remote NFS server, in a small office environment.
NFS server is running on linux CentOS host, serving a directory of thousands of documents.
Multiple users having LibreOffice workstations on linux, which I'm hoping to change to FreeBSD. (Also currently some windoze connecting by samba.)
All users can read and write the documents as normal.
Documents can be opened read-only when another user already has access.
This has been working reliably for many years.
I have a fresh FreeBSD 13.2 workstation, running KDE-plasma and LibreOffice, all installed from packages.
The remote NFS share is successfully mounted as /mnt/nfs.
From the command line of FreeBSD workstation, I can read and write files in the remote /mnt/nfs directory as normal.
But LibreOffice is not so happy.
/etc/rc.conf includes the following lines :
Code:
# Enable NFS
nfs_client_enable="YES"
nfs_client_flags="-n 4"
/etc/fstab includes the following lines :
Code:
# Remote nfs share
192.168.0.88:/nfs /mnt/nfs nfs rw 0 0
# For LibreOffice
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
On the CentOS NFS server, /etc/exports includes the following line :
Code:
/nfs 192.168.0.0/24(rw,sync,no_wdelay,all_squash,anonuid=99,anongid=100)
Yes, the FreeBSD host is in the above subnet.
When I try to use LibreOffice on FreeBSD to open any file in /mnt/nfs, I gets a message :
"The file has been locked by another user. You can open it read only, etc".
This message is repeated for every file, including files that are NOT being open by any other user.
Also, LibreOffice from FreeBSD cannot write a new file to /mnt/nfs. "Error writing file."
LibreOffice on FreeBSD can happily read and write documents to $HOME directory, so the issue seems to caused by remoteness.
How do I get LibreOffice to open the nfs remote files correctly ?
It seems I'm having some issues with access rights and permissions, or NFS file locking ?
Pleases and thankyous for any clues to flatten this wrinkle, and help to get my LibreOffice on FreeBSD working as intended.