oracle用户使用df -h时报错 [[email protected] ~]$ 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 [[email protected] ~]$ 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用户执行 [[email protected] ~]# su - root [[email protected] ~]#umount /root/.gvfs [[email protected] ~]# rm -rf /root/.gvfs 切换至oracle用户,继续查看 [[email protected] ~]$ 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
`/root/.gvfs': Permission deniedcd
时间: 2024-11-04 23:17:01