Issue 110334 - Lockfile is created when opening file readonly
Summary: Lockfile is created when opening file readonly
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-03-23 13:19 UTC by tserries
Modified: 2014-01-29 15:05 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---

Testfile will be opened readonly (7.84 KB, application/vnd.oasis.opendocument.text)
2010-03-23 13:21 UTC, tserries
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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