Issue 110334

Summary: Lockfile is created when opening file readonly
Product: General Reporter: tserries <t.serries>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: dshr153, elish, issues
Version: OOo 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---
Description Flags
Testfile will be opened readonly none

Description tserries 2010-03-23 13:19:13 UTC
If you set the flag to open a file readonly by default (Extras -> Options -> -> Securtiy -> Open this file readonly) OpenOffice creates
lockfile as soon as the file is opened.

This differs from the behaviour, when an editable file is switched to readonly
manually (via toolbar): The lockfile will be removed.

To reproduce:
- Save attached file.
- Open it.
- Look for the correponding lockfile (.~lock.Readonly-file.odt#).
Comment 1 tserries 2010-03-23 13:21:22 UTC
Created attachment 68499 [details]
Testfile will be opened readonly
Comment 2 tserries 2010-03-23 13:31:38 UTC
Sorry, tested with OOo 3.2

But is also reproducable with OOo 3.1.1 (Windows and Linux). 
Comment 3 Edwin Sharp 2014-01-29 15:05:46 UTC
Hidden lock file is created
AOO410m1(Build:9750)  -  Rev. 1560934
2014-01-27_04:11:25 - Rev. 1561585