[Bug 1872476] Re: Shared files are shown as folders
I tried to replicate the problem several times with different systems (Thankfully, I have three laptops with three different OS installed.), and concluded that the symptom doesn't need to be provoked with macOS. I can reproduce the error with these steps with the files from any OS. 1) Write a certain file through the samba protocol to the shared folder. 2) Open the shared folder in ubuntu system and move the file to the my home folder. (Don't move the file through samba, please move the file locally.) 3) 'Copy' the file to the shared folder. (Still, don't use samba for this process. Interestingly, simply moving the file to the shared folder did not reproduce the error. Only copying works.) 4) Now open the shared folder through samba. The file is now showing as folder, or sometimes not showing at all. I have Parallels installed in my macOS, and I tried to figure out whether I can reproduce this problem with fresh-installed ubuntu in virtual machine, (Of course, fully updated via apt-get update/upgrade before doing everything.) and it was successful. I'll upload the instruction docx file including some screenshots. I'll upload more log files when I'm ready. ** Attachment added: "Samba2.docx" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+attachment/5442812/+files/Samba2.docx -- 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
[Bug 1872476] Re: Shared files are shown as folders
Whoops, correction: The file was transfered from macOS to ubuntu system via Finder app in macOS, not Nautilus. Moving/copying the file inside the ubuntu system was done via Nautilus. -- 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
[Bug 1872476] Re: Shared files are shown as folders
Ok, I tried more. I downloaded a random copyright-free music file to this ubuntu system, and moved/copied to the samba share folder, and I could share the file properly. Repeated several times, and the same result. And then, I downloaded a different copyright-free music file from the same site to my macOS system, and copied to the samba share folder of ubuntu system (through Nautilus). At first, the file correctly showed. After that, I moved the file to shared folder to my home folder, and copied to the samba share folder again. Now the file is showing as a folder. I think I'll gonna try this from my another laptop (this one has Windows system installed), maybe tomorrow. When I search about this kind of bug, some users are still suffering from it even after the patch but now I'm not sure where exactly to find the source of the problem. @ Rapper-skull Well the image was from this site. I still don't have the symptom with this file.: https://www.pcmag.com/reviews/apple-macbook- pro-16-inch -- 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
[Bug 1872476] Re: Shared files are shown as folders
1) The file I tried to open yesterday was indeed IMG_1809.JPG, and the error pops up saying it is not a directory. I reproduced the error message today in my system, so let me give you another log files today. 2) Yes indeed. 3) Yes, I accessed the files from the same system, as my system appeared in Nautilus. 4) I made another shared folder in my home folder and the symptom was exactly the same. Though I figured out something strange in the process. This time I tried to share 4 different files. 3 files (m4a, pdf, jpg file) were from my macOS system, and copied through samba protocol (I'm still able to write to shared folder. Unable to read it properly though). 1 file (jpg file) was a random macbook image from the internet. All 3 files from my macOS system showed as folders, while random macbook image from the internet showed properly. I think I need to figure out which kind of files were affected... Some screenshots and log files were attached. ** Attachment added: "samba1.zip" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+attachment/5442523/+files/samba1.zip -- 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
[Bug 1872476] Re: Shared files are shown as folders
Here is my smb.conf file, and log files after applied 'debug 10'. Opened my share folder, tried to open a jpg file which is incorrectly shown as a folder, and got an error message (both from the current ubuntu system and other macOS system). Some names were replaced with '' or something similar. I guess it might be hard to find what is actually causing the problem, but since Sergio is helping us, I think I can patiently wait. Thanks a lot. ** Attachment added: "samba.zip" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+attachment/5442249/+files/samba.zip -- 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
[Bug 1872476] Re: Shared files are shown as folders
I hided #52 cause I was afraid I was doing something wrong because I'm new to ubuntu. Today is just a week 2 or 3 to me. I'm still having this bug and I guess someone might help me for this. About smf.conf, I maintained default settings except a few things. I gave a new netbios name (by "netbios name (something)", and just added settings for my shared folder (as in below). I didn't change it to use SMBv1 or 2. [SMB_share] comment = Samba Shared Folder path = /home/samba/shared writable = yes browsable = yes create mask = 0660 directory mask = 0771 valid users = (redacted) Checked smbstatus and it is showing that the protocol is SMB3_02. Already run apt-get update and upgrade, but no change. Happens like a screenshot attached. Also happens when I check the shared folder from macOS and windows. I can give some specific configuration if you want because I desperately want to see this bug to fix. (I just don't know what to offer.) ** Attachment added: "2020-12-08 22-24-53.png" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+attachment/5441973/+files/2020-12-08%2022-24-53.png -- 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
[Bug 1872476] Re: Shared files are shown as folders
Also having the issue on ubuntu 20.04 using samba 2:4.11.6+dfsg- 0ubuntu1.6. Protocol was SMB3, macOS and windows client. -- 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