← Back to team overview

touch-packages team mailing list archive

[Bug 867806] Re: df -h permission denied error

 

I am using an Ubuntu 12.04 LTS on our servers and I am receiving this
message when I am monitoring from Nagios.

root@mysever:# /usr/lib/nagios/plugins/check_disk -l -w 95 -c 99 -X tmpfs -X devtmpfs -A -i /localrepo
DISK CRITICAL - /var/lib/lightdm/.gvfs is not accessible: Permission denied

I saw the directory and it is showing to me this :

d?????????  ? ?       ?          ?            ? .gvfs


I will try an workaround on Nagios , excluding this directory using this command instead.

/usr/lib/nagios/plugins/check_disk -l -w 95 -c 99 -X tmpfs -X devtmpfs
-A -i '.gvfs' -i /localrepo

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/867806

Title:
  df -h permission denied error

Status in Light Display Manager:
  New
Status in lightdm package in Ubuntu:
  Confirmed

Bug description:
  Running "df -h" from the cli as a normal user returns:

  Filesystem            Size  Used Avail Use% Mounted on
  /dev/md0               37G  6.6G   29G  19% /
  udev                  796M  8.0K  796M   1% /dev
  tmpfs                 322M  888K  321M   1% /run
  none                  5.0M     0  5.0M   0% /run/lock
  none                  805M   92K  805M   1% /run/shm
  /dev/sda3             1.8T  265G  1.6T  15% /mnt/d1
  /dev/sdb3             1.8T  1.7T  102G  95% /mnt/d2
  /dev/sdc3             893G   33M  893G   1% /mnt/d3
  df: `/var/lib/lightdm/.gvfs': Permission denied
  $

  running with "su"

  $ sudo df -h
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/md0               37G  6.6G   29G  19% /
  udev                  796M  8.0K  796M   1% /dev
  tmpfs                 322M  888K  321M   1% /run
  none                  5.0M     0  5.0M   0% /run/lock
  none                  805M   92K  805M   1% /run/shm
  /dev/sda3             1.8T  265G  1.6T  15% /mnt/d1
  /dev/sdb3             1.8T  1.7T  102G  95% /mnt/d2
  /dev/sdc3             893G   33M  893G   1% /mnt/d3
  $

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: bash 4.2-0ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-10.16-server 3.0.4
  Uname: Linux 3.0.0-10-server x86_64
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Tue Oct  4 14:17:28 2011
  InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
  ProcEnviron:
   SHELL=/bin/bash
   LANG=en_US.UTF-8
  SourcePackage: bash
  UpgradeStatus: Upgraded to oneiric on 2011-09-05 (29 days ago)

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