Bug 157835 - Can't Open Older Files - Access Denied or Need Permission???
Summary: Can't Open Older Files - Access Denied or Need Permission???
Status: RESOLVED DUPLICATE of bug 157497
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-20 06:52 UTC by Don Millage
Modified: 2023-10-27 20:16 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Millage 2023-10-20 06:52:05 UTC
Description:
If I try to open a file using a shortcut I cut "Access Denied" but if I try to open a file from inside Libre Office I get "Need Permission." Both of which can be eliminated "IF" I disable my AVAST Firewall first. Now, those folks can't tell me why this just started nor how to fix it so I'm grasping straws and asking you folks. HELP!!! 

Steps to Reproduce:
1.Running Windows 10
2.Avast Premium Security - Firewall Enabled
3.Attempt to Open Libre Office file (docx or xlsx)

Actual Results:
File will deny you access until firewall is disabled

Expected Results:
File Opens as requested


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: StartModule
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 Mike Kaganski 2023-10-20 07:15:51 UTC
Indeed, Avast / AVG started to block newer LibreOffice releases recently:

https://ask.libreoffice.org/t/when-trying-to-open-some-files-i-get-error-access-denied-or-this-file-has-been-locked-by-another-user/97072/
https://ask.libreoffice.org/t/unable-to-open-7-4-docs-with-7-6-version-loaded/96917
https://ask.libreoffice.org/t/problem-opening-saved-docs-following-recent-upgrade/96972
https://ask.libreoffice.org/t/can-no-longer-use-desktop-shortcuts-for-individual-files/96980

This is not a bug in LibreOffice, and we can do nothing about their behavior. The only thing you can try is finding the correct procedure to add Program Files\LibreOffice\program\soffice.bin into the antivirus' exception list (there is a similar procedure for Windows Defender's folder access control, explained in the FAQ [1]).

And of course, filing bugs/issues/support tickets against Avast is the correct way of resolving this, finally.

Closing NOTOURBUG.

[1] https://wiki.documentfoundation.org/Faq/General/Defender_Controlled_folder_access_exception
Comment 3 Stéphane Guillou (stragu) 2023-10-27 20:16:35 UTC
Let's consolidate into bug 157497.

*** This bug has been marked as a duplicate of bug 157497 ***