LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-14-2006, 04:46 PM   #1
rgheck
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora Core 3
Posts: 29

Rep: Reputation: 15
OpenOffice Opens NFS Files Read-Only


I'm posting this here because I keep having this problem and keep having a hard time remembering exactly how to resolve it. I'm guessing others will find themselves in the same situation.

Here's the problem: You install (or upgrade) OpenOffice, and it opens all files that are on network shares read-only, totally refusing to let you edit them; permissions are not the issue.

The cause is that OpenOffice wants to lock the file before it allows you to edit it, and for some reason or other file locking is not working on your network.

There are two solutions:
  • Get file locking working. This usually seems to involve making sure rpc.statd is running on both the server and the client. But I have not investigated this in detail, as there is another solution that works for me.
  • Find and edit the file
    Code:
    soffice
    . In it, you will find the following lines:
    Code:
    # file locking now enabled by default
    SAL_ENABLE_FILE_LOCKING=1
    export SAL_ENABLE_FILE_LOCKING
    Comment out the last two lines. Note that this disables file locking and so is potentially unsafe. As I said, it works for me, because the file in question is in my home directory, mounted from a NFS server, and I know no-one else has access.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openoffice writer not opens for particular user binish Linux - Desktop 1 09-28-2006 05:06 PM
SuSE 10.0 XMMS opens but will not play files bishop_13 Suse/Novell 6 06-07-2006 08:59 AM
Downloading .rpm files opens xine ninadb Linux - General 2 02-14-2006 06:00 AM
OpenOffice opens files in read-only mode baskerville Linux - Software 2 08-11-2005 03:29 PM
What opens .mwf files? storyteller Linux - Software 3 12-27-2003 02:37 PM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration