https://bugs.documentfoundation.org/show_bug.cgi?id=128233
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #73 from Julien Nabet <[email protected]> --- After some discussion with Christian following a wrong and abandoned recent patch, here are information from him (a big thanks since this tracker was really stuck!) which may help: Hypothesis: the prompt from macOS to grant access was not shown for some reason and did timeout and thus LibreOffice was blacklisted Suggestions: Reset permission for documents folder and Desktop folder respectively -> tccutil reset SystemPolicyDocumentsFolder and/or -> tccutil reset SystemPolicyDesktopFolder (beware, without any additional parameter this will reset the permissions for all apps) It can be done only for LibreOffice: -> tccutil reset SystemPolicyDocumentsFolder org.libreoffice.script -> tccutil reset SystemPolicyDesktopFolder org.libreoffice.script it's possible to reset every privacy decision related to LibreOffice use -> tccutil reset All org.libreoffice.script Remarks: - it should work as admin user or as standard user - when running from terminal by launching /path/to/LibreOffice.app/Contents/MacOS/soffice it will be the Terminal's permissions that are applied, you'd have to use "open /path/to/LibreOffice.app" or run it from finder to have it run in its own scope To be even more complete, you can try: * reset permissions using the "tccutil reset All org.libreoffice.script" command mentioned above * drag LibreOffice to a folder on disk A) run LibreOffice without installing the languagepack first you get the gatekeeper prompt whether you want to run the application LibreOffice launches in English, as expected. Create a new file Hit save, file dialog defaults to Documents directory, on hitting "Save" → macOS should prompt and ask whether to grant LibreOffice permission to access the Documents folder → approve and LO should save successfully. → new documents should be saved to documents folder without a second prompt Use Save as (or just create another document, doesn't make a difference) and select the Desktop folder in the file selector, on hitting "save" → macOS should prompt and ask whether to grant LibreOffice permission to the Desktop folder → approve and LO should save successfully → further saves to the Desktop shouldn't trigger the prompt close LibreOffice and install the languagepack launch LibreOffice again and now shoud come up in translated form saving documents to desktop or documents folder shouldn't trigger a prompt and work B) install the languagepack without launching LibreOffice first → after hitting "install" in the languagepack installer it should trigger launching LO and the gatekeeper should prompt asking whether you want to launch LibreOffice approve and the languagepack installation should continue B.1) after languagepack installation is complete, LO shoud still run, close and restart to use it in the new locale creating documents and saving them should work as above, first time you try to access Documents or Desktop you get the permission prompt, subsequent ones should work without interruption. B.2) after languagepack isntallation create a document in the still-running English LO and save should get the prompts as expected and save works. after relaunching to switch to the new UI language saving should work without additional prompts. For those using homebrew, the mechanism is specific, bugtracker is about installing from dmg. So if after having applied all these someone still has a problem, please provide a step by step process to reproduce this. Let's put this one to NEEDINFO meanwhile. -- You are receiving this mail because: You are the assignee for the bug.
