[Pkg-samba-maint] Bug#871779: Bug#871779: /sbin/mount.cifs: Some remote folders missing when mounting the share using -o vers=2.x option

Thibault Roulet tr at omch.ch
Wed Oct 25 15:20:55 UTC 2017


I found something new !

Hidden folders not displayed with ls -la command can be found if forced !

# mount.cifs -o username=backup,ro,nounix,vers=3.0 
//server.address/share$ /mnt/

# ls -la /mnt/
drwxr-xr-x  2 root root 4096 Oct 22 04:36 .
drwxr-xr-x 22 root root 4096 Oct 16 14:36 ..
dr-xr-xr-x  2 root root    0 Oct 12 08:25 Pictures
drwxr-xr-x  2 root root    0 May 31 10:35 System Volume Information

# ls -lad /mnt/Documents
drwxr-xr-x 2 root root 40960 Oct 25 16:58 /mnt/Documents

And I can list the content and access the files.
Don't know if it helps

Cheers


On 08/29/2017 10:24 AM, Thibault Roulet wrote:
>
> Here are the files,
>
> Yes, I tried vers=3.0 too, same result
>
> Regards
>
> Thibault
>
>
> On 08/17/2017 10:47 AM, Mathieu Parent wrote:
>> [...]
>>> 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/
>>>
>> [...]
>>> 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.
>> Have you tried vers=3.0?
>>
>> Can you provide a network capture (including the mount abd the ls):
>> - without vers=2.1 to win7
>> - with vers=2.1 to win7,
>> - to win10 with cifs1.0 enabled
>> - to win10 with cifs1.0 disabled
>>
>> Seehttps://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Wire_Captures
>>
>>
>> Regards
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20171025/be55f5eb/attachment.html>


More information about the Pkg-samba-maint mailing list