File Locking Behavior on NFS

OpenOffice.org 2.0.2 and StarOffice 8 PP2

Spec. will not be implemented for 2.0.2/PP2

Document - ID	Specification Owner	Last Change	Status
	Frank Loehmann	04 January 2006	Final
Conforms to	
Applies to	OpenOffice.org 2.0.2 and StarOffice 8 PP2 (all modules)
Task ID(s)	i54586 and i59253 (readme)
Category	Feature

Abstract

Some users want to access documents remotely via NFS. On those systems a locking manager daemon assures that a file on the NFS could be opened once at a time with read/write access. Some misconfigured systems do not have this manager installed and running. Then OOo could not access and open files from those NFS volumes at all. In this case only the standard IO error message is shown. This change enable the user to open a read-only document or a copy for editing of that document.

i-Team Members (The specification owner is part of the i-Team)

	Name	E-mail Address
User Experience	Frank Loehmann (FL)	frank.loehmann@sun.com
Development	Andreas Bille Hennes Rohling	andreas.bille@sun.com hennes.rohling@sun.com
Quality Assurance	Thorsten Martens (TM)	thorsten.martens@sun.com
Documentation	Uwe Fischer (UFI)	Uwe.fischer@sun.com

Approved for Implementation

	Approved by	Date
User Experience	Frank Loehmann	19. December 2005
Development	Andreas Bille Hennes Rohling	
Quality Assurance	Thorsten Martens	19. December 2005
Documentation	Uwe Fischer	13. December 2005
String Review	Frank Loehmann	19. December 2005

Document Change History

Rev. Level	Change	Initials	Date
1.0	Initial Draft	FL	12 December 2005
1.1	Update with feedback from SB	FL	13 December 2005
1.2	Work on feedback of UFI, SB. Change dialog text.	FL	13 December 2005
1.3	Finalization of text	FL	03. January 2006

Contents

Glossary	1

1	Motivation	1

2	Goals	1

3	Detailed Specification	1

Strings for Error Message Box	1

Glossary

Term	Description
NFS	Network File System
Locking Manager	Program that assures, that files could be edited once at a time

Motivation

Some users want to access documents remotely via NFS. On those systems a locking manager daemon assures that a file on the NFS could be opened once at a time with read/write access. Some misconfigured systems do not have this manager installed and running. Then OOo could not access and open files from those NFS volumes at all. In this case only the standard IO error message is shown.

Goals

Enable the user to open a read-only document or a local copy for editing of that document. Furthermore to update the readme file (see i59253) that already covers a description how to turn on/off file locking.

Detailed Specification

The following dialog box is shown, if a document could not be opened due to file locking on a NFS volume failed:

Strings for Error Message Box

Item	English	German	Comments
Title	%PRODUCTNAME %PRODUCTVERSION	%PRODUCTNAME %PRODUCTVERSION	
Text	The document could not be opened for editing. %PRODUCTNAME could not lock the following document for exclusive access:\n%PATHANDDOCNAME\n\nPress 'OK' button to open the document read-only.	Das Dokument konnte nicht zum Bearbeiten geöffnet werden. %PRODUCTNAME konnte das folgende Dokument nicht für den exklusiven Zugriff sperren:\n%PATHANDDOCNAME\n\nBetätigen Sie die 'OK' Schaltfläche, um das Dokument schreibgeschützt anzuzeigen.	
Button 1	OK	OK	
Button 2	Cancel	Abbrechen	Aborts loading of doc

On some other systems the locking seems not to work even if the manager is installed properly, but this issue has not been confirmed and is not part of this issue

On some other systems the locking seems not to work even if the manager is installed properly, but this issue has not been confirmed and is not part of this issue

Automatic Minimum Free Disk Space Detection

Page 1

http://specs.openoffice.org/appwide/fileIO/FileLockingOnLinux.sxw

Frank Loehmann

2003-04-28T18:30:05