Wrong folder size on folder in smb shares

Bug #453747 reported by carlosbarrueto
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Nautilus
Unknown
Medium
samba (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: nautilus

When surfing on an smb share which is an xp machine, while right clicking on a folder it reports a false/wrong folder size. Compared to the actual folder size after copying to my computer.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.26.2-0ubuntu2
ProcEnviron:
 LANG=sv_SE.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.28-15-generic i686

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

Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in nautilus (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
Changed in nautilus (Ubuntu):
status: New → Triaged
Changed in nautilus:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Jmadero (jmadero) wrote :

This is also if you're just inside of two Linux based machines, the reported size is wrong, thank you

Revision history for this message
kolya (mar-kolya) wrote :

Hi

This is probably not nautilus bug. This looks like libsmb bug. Libsmb generates same inode numbers for different files which makes nautilus (gvfs) treat them as hardlinks and count their size only once.
I've submitted bugreport with patch to samba bugzilla: https://bugzilla.samba.org/show_bug.cgi?id=8010 .

Thanks.
Nikolay.

Revision history for this message
kolya (mar-kolya) wrote :

This patch is made for current samba git, but can be applied to samba 3.5.4 with minor changes.

tags: added: patch
Changed in nautilus:
status: New → Unknown
Changed in nautilus (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
affects: nautilus (Ubuntu) → samba (Ubuntu)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This was fixed in 3.5, long since available in Ubuntu.

Changed in samba (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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