Linux df 命令返回权限被拒绝

Linux df 命令返回权限被拒绝

关于如何解决这个问题有什么想法吗,我不确定它是否应该返回那些结果......

$ df
df: `/var/named/chroot/etc/named': Permission denied
df: `/var/named/chroot/var/named': Permission denied
df: `/var/named/chroot/etc/named.conf': Permission denied
df: `/var/named/chroot/etc/named.rfc1912.zones': Permission denied
df: `/var/named/chroot/etc/rndc.key': Permission denied
df: `/var/named/chroot/usr/lib64/bind': Permission denied
df: `/var/named/chroot/etc/named.iscdlv.key': Permission denied
df: `/var/named/chroot/etc/named.root.key': Permission denied
df: `/var/named/chroot/etc/services': Permission denied
df: `/var/named/chroot/etc/protocols': Permission denied
df: `/var/named/chroot/lib64/libnss_files.so.2': Permission denied
Filesystem      1K-blocks     Used  Available Use% Mounted on
/dev/root        20511356   877116   18569280   5% /
devtmpfs          8157848      216    8157632   1% /dev
/dev/sda2      1901565084 10598976 1794349100   1% /home
tmpfs             8159952        0    8159952   0% /dev/shm

答案1

可能df是别名,所以你可以尝试:

$ unalias df
$ df

相关内容