** Description changed: Similar symptoms to Bug #1872476, however issues occur even with the patched version of the Samaba package (2:4.11.6+dfsg-0ubuntu1.2). [Symptoms] - - When accessing Ubuntu-hosted Samba shares from MacOS, some files are represented as directories. - - When accessing Ubuntu-hosted Samba shares from Windows, these same files are not shown at all. - + - When accessing Ubuntu-hosted Samba shares from MacOS, some files are represented as directories. + - When accessing Ubuntu-hosted Samba shares from Windows, these same files are shown as directories, with a gray "X" over the folder icon. [Scenario / steps to reproduce] - - Clean install of Ubuntu 20.04 - - Install Samba package thru apt - - Create Samba share pointing to folder on local filesystem - - Access Samba share from MacOS machine - - Observe that some or all files in the share are displayed as folders - - Using Terminal on MacOS, cd-ing to the affected directory and running ls -al shows drwx, e.g. "drwxr--r--- 1 user group 2263221 Jul 21 2020 DSC_0524.JPG" despite DSC_0524.JPG being a file rather than a directory. - - Copying any of these "files" to the MacOS machine's local filesystem will result in the file remaining a directory. + - Clean install of Ubuntu 20.04 + - Install Samba package thru apt + - Create Samba share pointing to folder on local filesystem + - Access Samba share from MacOS machine + - Observe that some or all files in the share are displayed as folders + - Using Terminal on MacOS, cd-ing to the affected directory and running ls -al shows drwx, e.g. "drwxr--r--- 1 user group 2263221 Jul 21 2020 DSC_0524.JPG" despite DSC_0524.JPG being a file rather than a directory. + - Copying any of these "files" to the MacOS machine's local filesystem will result in the file remaining a directory. - - Curiously, I've observed the behavior on only certain directories within a given Samba share. For example, I have a "media" share on my NAS, with 3 directories - Movies, TV, and Photos. In this Samba share, only the Photos directory exhibits the bug in question, which affects all files in the root of Photos as well as any files in any subdirectories. However no files in the Movies and TV directories in the root of the Samba share are affected. + Curiously, I've observed the behavior on only certain directories within + a given Samba share. For example, I have a "media" share on my NAS, with + 3 directories - Movies, TV, and Photos. In this Samba share, only the + Photos directory exhibits the bug in question, which affects all files + in the root of Photos as well as any files in any subdirectories. + However no files in the Movies and TV directories in the root of the + Samba share are affected. Also, this particular Samba share was running for approx 9 days before the bug took affect. No configuration changes were made (at least user- initiated ones) between normal operation and the issue starting.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902398 Title: Files shared via Samba are shown as folders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1902398/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs