← 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 taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug #33883, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.

** This bug has been marked a duplicate of bug 33883
   hidden files not included in directory 'properties'

-- 
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