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

`/root/.gvfs': Permission deniedcd

时间:2014-06-02 04:14:50      阅读:288      评论:0      收藏:0      [点我收藏+]

标签:`/root/.gvfs': permission deniedcd

oracle用户使用df -h时报错 

[oracle@cqltjcpt1 ~]$ df -h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-LogVol02
                       47G  4.8G   40G  11% /
tmpfs                 127G  260K  127G   1% /dev/shm
/dev/sda1              98M   46M   48M  50% /boot
/dev/mapper/VolGroup-LogVol00
                     1008M   34M  924M   4% /tmp
/dev/mapper/VolGroup-LogVol01
                       40G  176M   38G   1% /u01

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

/dev/sr0              3.4G  3.4G     0 100% /mnt
[oracle@cqltjcpt1 ~]$ df: `/root/.gvfs‘: Permission deniedcd 


红帽官方说这是个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á Batek
QA Contact:	Fedora Extras Quality Assurance
URL:	
Whiteboard:	
Keywords:	
Depends On:	
Blocks:	
 	 Show dependency tree / graph



以下是本bug的solution,切换至root用户执行

[oracle@cqltjcpt1 ~]# su - root
[oracle@cqltjcpt1 ~]#umount /root/.gvfs
[root@cqltjcpt1 ~]# rm -rf /root/.gvfs

切换至oracle用户,继续查看 

[oracle@cqltjcpt1 ~]$ df -h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-LogVol02
                       47G   14G   31G  31% /
tmpfs                 127G  680K  127G   1% /dev/shm
/dev/sda1              98M   46M   48M  50% /boot
/dev/mapper/VolGroup-LogVol00
                     1008M  263M  695M  28% /tmp
/dev/mapper/VolGroup-LogVol01
                       40G  176M   38G   1% /u01
/dev/sr0              3.4G  3.4G     0 100% /mnt


本文出自 “O Record” 博客,请务必保留此出处http://evils798.blog.51cto.com/8983296/1420847

`/root/.gvfs': Permission deniedcd,布布扣,bubuko.com

`/root/.gvfs': Permission deniedcd

标签:`/root/.gvfs': permission deniedcd

原文地址:http://evils798.blog.51cto.com/8983296/1420847

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