[Samba] some directories are showed as regular files when hide unreadable=yes

Andrea Cucciarre acucciarre at cloudian.com
Fri Nov 11 11:04:37 UTC 2022


I have the following issue on a server running Samba 4.13.4 sharing a
single volume (server is joined to an AD domain):

On all windows clients, for some users (not all), on windows explorer or
"dir" dos command, some directories (not all) are wrongly shown as regular
files, though they are directories.

However, on all windows clients, for all users, the power-shell command
"(Get-Item <path>) -is [System.IO.DirectoryInfo]" correctly shows that they
are directory.

The issue disappears if I remove in smb.conf the entry "hide unreadable=yes"
(On the backend filesystem "ls -l" command correctly shows that they are

Are you aware of any bug or uncommon configuration that could cause such
odd behaviour?


More information about the samba mailing list