← Back to team overview

desktop-packages team mailing list archive

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

 

** Changed in: nautilus (Ubuntu)
   Importance: Undecided => Low

-- 
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” package in Ubuntu:
  Confirmed

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/ubuntu/+source/nautilus/+bug/730142/+subscriptions