zoukankan      html  css  js  c++  java
  • df: `/root/.gvfs': Permission denied

    在使用oracle账户检查本地磁盘情况时,总是出现df: `/root/.gvfs': Permission denied信息提示。

    [sql] view plain copy
     
    1. [oracle@rac1 ~]$ df -h  
    2. Filesystem            Size  Used Avail Use% Mounted on  
    3. /dev/mapper/rootvg-LogVol00  
    4.                       9.9G  8.3G  1.2G  88% /  
    5. tmpfs                 2.0G  1.3G  740M  63% /dev/shm  
    6. /dev/sda1             194M   32M  152M  18% /boot  
    7. /dev/mapper/rootvg-LogVol01  
    8.                       9.9G  286M  9.1G   3% /home  
    9. /dev/mapper/rootvg-LogVol03  
    10.                       5.0G  143M  4.7G   3% /tmp  
    11. /dev/mapper/rootvg-LogVol02  
    12.                       2.0G  196M  1.7G  11% /var  
    13. /dev/mapper/rootvg-LogVol04  
    14.                        60G   11G   46G  19% /u01  
    15. /dev/sr0              3.5G  3.5G     0 100% /mnt/cdrom  
    16. df: `/root/.gvfs': Permission denied  


    这个是RHEL6的一个已知的BUG 719272。
    https://bugzilla.redhat.com/show_bug.cgi?id=719272

    This typically happens when you run gnome-session or any other gnome app under root, autospawning gvfs-fuse-daemon. At first, Gnome apps should not be run under root nor su/sudo. As a second note, this is a design issue of FUSE mounts, denying access to other users - system tools should be aware of it and ignore.

    我们可以使用如下命令来跳过这个错误提示。


    1. [oracle@rac1 ~]$ df -x fuse.gvfs-fuse-daemon  
    2. Filesystem           1K-blocks      Used Available Use% Mounted on  
    3. /dev/mapper/rootvg-LogVol00  
    4.                       10321208   8618244   1178676  88% /  
    5. tmpfs                  2024620   1267544    757076  63% /dev/shm  
    6. /dev/sda1               198337     32665    155432  18% /boot  
    7. /dev/mapper/rootvg-LogVol01  
    8.                       10321208    292144   9504776   3% /home  
    9. /dev/mapper/rootvg-LogVol03  
    10.                        5241096    145536   4829320   3% /tmp  
    11. /dev/mapper/rootvg-LogVol02  
    12.                        2064208    200488   1758864  11% /var  
    13. /dev/mapper/rootvg-LogVol04  
    14.                       61927420  10662596  48119096  19% /u01  


    这个错误对系统来说是没有太多影响的,这里我们可以忽略。

  • 相关阅读:
    极光推送消息——Alias别称方式(Andirod)
    引用极光jar包之后出现控制台日志打印不出来的问题。解决!
    极光推送消息——RegistrationID方式
    Educational Codeforces Round 79 D
    解决报错:ERROR 1005 (HY000): Can't create table 'market.orders' (errno: 150)
    ansible笔记(13):变量(二)
    ansible笔记(12):变量(一)
    zabbix4.2配置邮件+脚本报警:以QQ邮箱为例
    解决mailx发邮件报错:esmtp-server: 504 5.7.4 Unrecognized authentication type [HK2PR02CA0167.apcprd02.prod.outlook.com] "/root/dead.letter" 11/302 . . . message not sent.
    ansible笔记(11):tags的用法
  • 原文地址:https://www.cnblogs.com/youngerger/p/8485958.html
Copyright © 2011-2022 走看看