Source: linux Source-Version: 4.19~rc7-1~exp1 On Fri, Aug 11, 2017 at 03:02:56PM +0200, Thibault Roulet wrote: > Package: cifs-utils > Version: 2:6.7-1 > Severity: normal > File: /sbin/mount.cifs > Tags: upstream > > Dear Maintainer, > > I have a shared folder on a windows 7 ENT Machine > Mounting this folder using the following options > mount -t cifs //host-address/share -o > username=user,password=mypassword,ro /path/to/folder/ > I can list the whole content of the shared zone > > # ls -1 > byuno > cyxmry > dubikovpkxyx > dypon > ruyo > Fxypxnrh > foyyo > fyxurnyxth > gyxrtprl > hu > johnppon > mxppxnti > nxprry > Qurrn > $RECYCLE.BIN > prvryin > ptrllxcci > ptylixnou > System Volume Information > wxpry > phu > pobi > > Then when mounting the same folder with > mount -t cifs //host-address/share -o > username=user,password=mypassword,ro,vers=2.1 /path/to/folder/ > > # ls -1 > cyxmry > dubikovpkxyx > dypon > ruyo > Fxypxnrh > foyyo > fyxurnyxth > gyxrtprl > hu > johnppon > mxppxnti > nxprry > Qurrn > prvryin > ptrllxcci > ptylixnou > System Volume Information > wxpry > phu > pobi > > The $RECYCLE.BIN folder is missing but also the byuno folder > I would say I don't care about the RECYCLE.BIN one as it's the trash but the > other one should be there. > I checked the permissions/owner of this folder, it's the same as the others.
The upstream commit 0595751f2679 ("smb2: fix missing files in root share directory listing") landed in 4.19-rc7 and got backported to various stable series. Regards, Salvatore