So I duplicated the steps in #70 and was able to reproduce the "type: directory" problem.
Then I edited smb.conf and set "store dos attributes = No" in the [global] section and restarted smbd. If I redo the steps in #70 the issue is resolved resulting in: "type: regular" "store dos attributes" was set to No by default in samba until version 4.9 so the change would have impacted Ubuntu from Ubuntu 19.04 forward. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872476 Title: Shared files are shown as folders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs