Bug 132778 - Macro security settings don't work for network shares
Summary: Macro security settings don't work for network shares
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-06 15:10 UTC by Jonathan Lyster
Modified: 2021-09-28 05:18 UTC (History)
2 users (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 Jonathan Lyster 2020-05-06 15:10:26 UTC
Description:
I've tried setting macro security to permit macros to run from LibreOffice Calc files in a shared folder. I've added the share to the trusted sources list in the form smb://192.168.143.60/[shared folder]/[sub-folder]

However, LibreOffice doesn't honor the trusted sources entry.6.3.5.2

Steps to Reproduce:
1. Open Options - Security
2. Go to Macro Security
3. Add a shared folder to trusted sources.
4. Put a LibreOffice file (I'm using a Calc file) with a macro into that folder.
5. Open the file.

Actual Results:
I get the security message saying Macros won't be run from this location.

Expected Results:
I expect the file to simply open without the security message, and with macros able to run.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I've tried safe mode. The issue persists.
Comment 1 Buovjaga 2020-08-30 16:43:38 UTC
Is this on Linux? Did it work with older versions? On Linux, you can quickly test with older versions by using appimages: https://libreoffice.soluzioniopen.com/
Comment 2 QA Administrators 2021-02-28 04:01:25 UTC Comment hidden (obsolete)
Comment 3 himajin100000 2021-02-28 21:35:48 UTC
I haven't test it myself, but I would build my own libreoffice myself and would see what  is given as uri and referer if I encounter similar problem.

https://opengrok.libreoffice.org/xref/core/unotools/source/config/securityoptions.cxx?r=d7ddc292&fi=isSecureMacroUri#832
Comment 4 QA Administrators 2021-08-28 03:53:39 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-09-28 05:18:51 UTC
Dear Jonathan Lyster,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp