← Back to team overview

desktop-packages team mailing list archive

[Bug 730142] Re: Directory size in properties doesn't count hidden files

 

*** This bug is a duplicate of bug 33883 ***
    https://bugs.launchpad.net/bugs/33883

Thank you for your bug report. This bug has been reported to the
developers of the software. You can track it and make comments at:
https://bugzilla.gnome.org/show_bug.cgi?id=329879

** Bug watch added: GNOME Bug Tracker #329879
   https://bugzilla.gnome.org/show_bug.cgi?id=329879

** Also affects: nautilus via
   https://bugzilla.gnome.org/show_bug.cgi?id=329879
   Importance: Unknown
       Status: Unknown

** Changed in: nautilus (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/730142

Title:
  Directory size in properties doesn't count hidden files

Status in Nautilus:
  Unknown
Status in “nautilus” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  What happens :
  When doing right-click → Properties on a directory's icon, the «Contents» field reports an incorrect file size : hidden files are not take into account.

  This happens even if hidden files are displayed.

  This happens both as root and as non-root.

  What should happen :
  Hidden files should be included in directory size calculation. If for some bizarre reason you estimate that they shouldn't be taken into account (this violates the principle of least astonishment, but nevermind), at least they should be taken into accound when hidden files are shown.

  Steps to reproduce :
  cd /tmp
  mkdir -p a/.hidden
  dd if=/dev/urandom of=a/dataOk bs=1M count=5
  dd if=/dev/urandom of=a/.hidden/dataIgnored bs=1M count=10
  dd if=/dev/urandom of=a/.dataHiddenIgnored bs=1M count=10
  du -hs a
  # du reports 26M.
  nautilus .
  # right-click on a → properties reports 5M.

  lsb_release -rd :
  Description: Ubuntu 10.04.2 LTS
  Release: 10.04

  apt-cache policy nautilus :
  nautilus:
  Installed : 1:2.30.1-0ubuntu1.1
  Candidate : 1:2.30.1-0ubuntu1.1
  Version table :
  *** 1:2.30.1-0ubuntu1.1 0
  500 http://fr.archive.ubuntu.com/ubuntu lucid-updates/main Packages
  100 /var/lib/dpkg/status
  1:2.30.0-0ubuntu4 0
  500 http://fr.archive.ubuntu.com/ubuntu/ lucid/main Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/730142/+subscriptions