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  


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

  • 相关阅读:
    启动redis时报错:FATAL CONFIG FILE ERROR :Bad directive or wrong number of arguments
    转载Redis的三个框架:Jedis,Redisson,Lettuce
    转载Dubbo详解(一):Dubbo介绍和SpringBoot整合Dubbo+ZooKeeper
    Redisson如何实现类似incr的自增操作
    转载解决 com.alibaba.fastjson.JSONException: autoType is not support.
    转载springboot+mybatis实现数据库的读写分离
    转载dubbo服务被重复调用三次的原因
    js中实现函数防抖跟函数节流
    网站项目后台的目录命名为admin后,网页莫名其妙的变样了
    createreactapp不支持less的解决方式
  • 原文地址:https://www.cnblogs.com/youngerger/p/8485958.html
Copyright © 2011-2022 走看看