Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenOffice opens files readonly over NFS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
m_gustafsson
Apprentice
Apprentice


Joined: 18 Mar 2007
Posts: 243
Location: Sweden

PostPosted: Sun Oct 26, 2008 2:45 pm    Post subject: OpenOffice opens files readonly over NFS Reply with quote

Hi,

I just upgraded from OpenOffice 2.4.x to 3.0.0, and since then I cannot open some of my documents for writing any more, I am only given read permissions by OpenOffice.
The documents that I cannot open for writing are on a separate disk that I access over my network with NFS. This worked just fine before upgrading OpenOffice to 3.0.0.

I saw in a thread that one should change some lines in the file /usr/lib/openoffice/program/soffice from:
Code:
# file locking now enabled by default
SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

to:
Code:
# file locking now enabled by default
#SAL_ENABLE_FILE_LOCKING=1
#export SAL_ENABLE_FILE_LOCKING

I have done this on my client, but still experience the same problem.

As this is still working on another computer of mine I was thinking that it might be because I have different UID and GID on those two comupters, i.e. the working computer and the server have the same UID and GID, while the non-working differ. I solved this earlier by using all_squash, anonuid and anongid in /etc/exports on my server (which is the one storing the OpenOffice files I'd like to open with write permissions):
Code:
# cat /etc/exports
# /etc/exports: NFS file systems being exported.  See exports(5).
/home -async,rw,no_subtree_check desktop1 server2(all_squash,anonuid=1000,anongid=1000) matsx60s(all_squash,anonuid=1000,anongid=1000)


Could it be that my problem is the different UID and GID? But why then did it work with older versions of OpenOffice?
Or, do I have some other problem?

Many thanks for any ideas.

/Mats
Back to top
View user's profile Send private message
m_gustafsson
Apprentice
Apprentice


Joined: 18 Mar 2007
Posts: 243
Location: Sweden

PostPosted: Fri Oct 31, 2008 7:24 am    Post subject: Reply with quote

No ideas anyone?

/Mats
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum