Thanks, but there is no "abe" enabled on those shares, and actually all files have same acls and permissions, both those that are visible and the ones that are not through "ls". With any other smb client (windows pc, smbclient -U ...) everything is shown correcetly. It happens only from those zones, mounting using smbfs on vfstab. Also, those files are created by the zones themselves, and they appear in a short timeframe, then they disappear randomly, but they're still there on the shares and visible from other smb clients.   Gabriele     Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets     Da: Jason King A: illumos-developer Data: 2 ottobre 2024 16.54.00 CEST Oggetto: Re: [developer] possible bug in smbfs ? There is a share option ‘abe’ (access based enumeration). If enabled on a share, clients will only see the files they have some sort of access to. You could try disabling that and see if the results are more what you expect.   I suspect the difference in behavior is probably related to when specifying an exact filename as a parameter to ls, it tries to do a stat(2) (or the SMB equivalent), while a glob will get expanded by the shell, and the needs to enumerate the contents of a directory (which is where the abe option may come into play) to figure out what the expansion is (which if it succeeds, is then passed as parameters to the command).       From: Gabriele Bulfon via illumos-developer Date: Wednesday, October 2, 2024 at 8:30 AM To: illumos-developer Subject: [developer] possible bug in smbfs ? Hello, we have an illumos system with many zones, and a separate illumos system sharing CIFS folders in workgroup mode. Each zone mounts a dedicated share with just its own permissions, using smbfs. After some time we realized something wierd was happening: in some folders running just "ls" from the zone shows only 125 files while on the storage dataset ther are more than 1000. File permissions are ok, all the same. More, missing files are different and random from zone to zone on their dedicated smb share. Even more, missing files can be accessed from the zone specifying a full file name, but are missing when using "*": root@z153:/export/home/dos/ariansped# ls ftparia.log ftparia.log root@z153:/export/home/dos/ariansped# ls ftparia.* ftparia.*: No such file or directory   Is there any known bugs in this cifs client implementation? Thanks, Gabriele     Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets   illumos / illumos-developer / see discussions + participants + delivery options Permalink ------------------------------------------ illumos: illumos-developer Permalink: https://illumos.topicbox.com/groups/developer/T2325b50b338eaba9-M120eafa44f877e65b1d7426a Delivery options: https://illumos.topicbox.com/groups/developer/subscription