Bug 131495 - Unable to open subdirectory in root directory of SMB share
Summary: Unable to open subdirectory in root directory of SMB share
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Network
  Show dependency treegraph
Reported: 2020-03-23 13:24 UTC by Ettore Atalan
Modified: 2022-06-23 20:49 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Ettore Atalan 2020-03-23 13:24:56 UTC
LibreOffice is unable to open a subdirectory in the root directory of a SMB share.

Steps to Reproduce:
1. Click on "Open File" to open the file dialog
2. Go to Networks
3. Click on the name of your network machine running the SMB server
4. Click on a subdirectory

Actual Results:
Error message:

Could not read the contents of <name of subdirectory>

No folder

Expected Results:
Opening the subdirectory without any problems.

Reproducible: Always

User Profile Reset: Yes

Additional Info:
Build ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Valentina Larina 2021-07-27 10:38:08 UTC

Repro in Version: / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Repro in Version: / LibreOffice Community
Build ID: 71477a3be1c64e5351894d9ef797feeee6b9eeeb
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-22_20:13:07
Calc: threaded
Comment 2 BogdanB 2021-07-27 10:45:54 UTC
Valentina, the version field is the oldest version afected by the bug, NOT the newest version. In this case is 6.4.2.
Comment 3 Julien Nabet 2022-06-23 19:40:19 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce this.
Idem with LO Debian testing package

Could someone give a try with a recent LO version?
Comment 4 Ettore Atalan 2022-06-23 20:18:40 UTC
With LibreOffice 7.3.4 I can still reproduce the problem.
Comment 5 Julien Nabet 2022-06-23 20:49:46 UTC
To be more precise, I installed Samba and configured a Samba share on my Linux desktop.
I added a directory in it.

I don't use File/Open... but File/Open Remote... (even if the file is local, it's on a network share).
First time, I added a File service, Windows share with host = localhost + all the other params.
No pb here.

Now, if I just use File/Open... and use "Other Locations", I can see the network share but when clicking on it, I got:
"Could not read the content of <network share name>
It's not a directory".

Finally, if I choose File/Open Remote... (after I declared Samba network share) and close it directly then choose File/Open..., there's a new entry on left panel called "<network share name> on localhost" and I can access documents even the ones in subdir.

(BTW, I also use gtk3)

Anyway, I put back to NEW since I don't have more questions.