Comment 27 for bug 1872476

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote : Re: [Bug 1872476] Re: Shared files are shown as folders

On Monday, May 04 2020, Jose Manuel Santamaria Lema wrote:

> Hi Sergio,

Hey Jose,

> I have tried to build a package just with the posix stat patch here:
> https://launchpad.net/~panfaust/+archive/ubuntu/samba-bugfix
>
> In my case that patch seems enough to get it working again for me.

Heh, that's interesting. I was indeed starting to test this scenario
here myself. After playing a bit with this bug, I noticed that, in
order to really check whether the bug has been fixed or not, it's better
if you umount and remount the samba share. If you don't, then the bug
might still manifest even after you install a samba package with the
fix.

> Would you mind to explain why the other 2 patches are needed? Thanks for
> your work.

Because of what I explained above, I initially thought the fix involved
upgrading samba to 4.11.7 + backporting the POSIX stat patch. So what I
did was try to find possible patch candidates on 4.11.7 that might be
needed to fix the bug.

Anyhow, I'm running some more tests here and will file the SRU as soon
as I have a confirmation of the necessary patch(es) to fix the bug.

Thanks,

--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14