df: `/root/.gvfs': Permission denied

oracle用户使用df -h时报错 

[oracle@dg1 OraBackup]$ df -h
df: `/root/.gvfs': Permission denied
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        36G   14G   21G  40% /
tmpfs           3.0G  1.2G  1.9G  40% /dev/shm
/dev/sda1       194M   34M  151M  19% /boot
shmfs           3.0G  1.2G  1.9G  40% /dev/shm
/dev/sr0        3.6G  3.6G     0 100% /mnt 红帽官方说这是个bug Bug 447314 - df shows /root/.gvfs permission denied Status: CLOSED CURRENTRELEASE Aliases: None (edit) Product: Fedora Component: gvfs (Show other bugs) Version(s): 9 Platform: All Linux Priority: low Severity: medium Target Milestone: --- Target Release: --- Assigned To: Tomáš Bžatek QA Contact: Fedora Extras Quality Assurance URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree / graph 以下是本bug的solution,切换至root用户执行 [root@dg1 OracleBak]# su - root [root@dg1 OracleBak]# umount /root/.gvfs/
[root@dg1 OracleBak]# rm -rf /root/.gvfs/ 切换至oracle用户,继续查看
[root@dg1 OracleBak]# su - oracle
[oracle@dg1 ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        36G   14G   21G  40% /
tmpfs           3.0G  1.2G  1.9G  40% /dev/shm
/dev/sda1       194M   34M  151M  19% /boot
shmfs           3.0G  1.2G  1.9G  40% /dev/shm
/dev/sr0        3.6G  3.6G     0 100% /mnt
posted @ 2016-06-29 02:29  珠烁晶莹  阅读(5771)  评论(0编辑  收藏  举报