in GIO 2.64.2 (Ubuntu 20.04) smb file attributes corrupted

Bug #1876308 reported by Max-Ulrich Farber
This bug report is a duplicate of:  Bug #1872476: Shared files are shown as folders. Edit Remove
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Incomplete
High
Unassigned

Bug Description

If the samba protocol is reduced to SMB-1 (option client max protocol = NT1 in smb.conf), in all samba shares mounted with gio mount, the mounting used by file managers like Nautilus or Thunar, ordinary files are displayed as empty folders and therefore not usable. The problem seems to be new in Ubuntu 20.04 (samba 4.11 and GIO 2.64.2) because it did not exist in Ubuntu 18.04 LTS (samba 4.7 and GIO 2.56.4).

In a shell opened by smbclient or in samba-shares mounted via mount.cifs, in Ubuntu 20.02 all files are displayed correctly and usable, even when the protocol is reduced to SMB-1 (client max protocol = NT1 in smb.conf or mount-option vers 1.0). Therefore the problem seems not to be a bug in samba 4.11 but one in the used GIO version.

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the description sounds similar to bug #1872476

Changed in gvfs (Ubuntu):
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Stefan Zeyen (stefan-zeyen) wrote :
Revision history for this message
Max-Ulrich Farber (m.u.farber) wrote :

It seems to be the same problem as bug 1872476, but there it seems to affect samba. I found that samba 4.11.7 alone works fine and that the bug only occurs if the samba shares are mounted with gio mount. Therefore I suppose it is a gio bug.

Before installing a patched samba version in my system I would like to know what has been done there. A patched samba can be quite a security risk.

Revision history for this message
Max-Ulrich Farber (m.u.farber) wrote :

I tried the update in a virtual machine. It seems to work. The files on the NAS are no more shown as empty folders even if they are mounted via GIO. But it is not the same machine where the bug had occurred before, so I must go on testing to be shure.

Revision history for this message
Max-Ulrich Farber (m.u.farber) wrote :

I have read the explication of Sergio Durigan Junior in bug 1872476 and I am convinced now that there is a problem in Samba and not in GIO. So I shall mark this bug as a duplicate of 1872476 now. Thanks, Sergio!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.