码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-06-29 06:36:45      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:

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

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

标签:

原文地址:http://www.cnblogs.com/wqswjx/p/5625523.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!