Problem description: On Mac OS X, opening any file with LibreOffice causes the enclosing directory's modification date to change. This plays havoc with folders organized by date. Am I missing an option, or perhaps invisible lock files I can turn off? Steps to reproduce: 1. Open any file with LibreOffice 2. Observe that this changes the enclosing directory's modification date to now. Current behavior: The directory's date changes. Expected behavior: The directory's date should not change, because nothing (visible) in it has been modified. Note: I would have tried Ask LibreOffice, but can find no way to log in without a social network membership, which I eschew. This Bugzilla membership doesn't seem to work for that. Operating System: Mac OS X Version: 3.6.5.2 release
It's probably caused by a lockfile. There are already several suggestions about what to do with those files, do they suit you or you have your own?
I wouldn't be surprised if it were caused by a lockfile, but I'm looking for definitive documentation on whether they exist and how to turn them off. The only reference I've found is to the script variable SAL_ENABLE_FILE_LOCKING, which I've set to 0 and commented out the export (in LibreOffice.app/Contents/MacOS/gengal) but the directory date still updates. I welcome more information here.
Hi Rhodes, when opening there is an option to open in read-only mode, seems that in this way do no create the lock file.
@Roman Eisele Could you comment as a mac user? Thanks.
Yes, opening a file from the Open dialog with the Read-only box checked does not change the enclosing folder modification date, whereas unchecking the Read-only box or opening via drag-and-drop does (LibreOffice 4.0.2.2). So that's a workaround, but it's much less convenient than drag-and-drop, so I'd still like to find a way to turn off the lock file (or whatever), accepting the risk that I might overwrite a parallel file change from a different application. Thanks for your info.
(In reply to comment #5) > I'd still like to find a way to turn off the lock file (or whatever), > accepting the risk that I might overwrite a parallel file change from a > different application. This sounds like an enhancement request. Status: NEW Severity: Enhancement
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.