Please help: "df -k" reports permission problem

ha haha hahaha_30k at yahoo.com
Fri Feb 17 09:18:21 UTC 2006


Hi,

 Anyone see the odd problem? "df -k" reports
"Permission denied" error to normal users, while it is
OK for root.

 I know it maybe related to somewhat security
settings, But I don't like, I'd like to turn off it
since it will make every normal user annoyed in few
hours. 

 Any one know how to turn off it?

Thanks a lot.




[user01 at www ~]$ df -k
Filesystem           1K-blocks      Used Available
Use% Mounted on
/dev/hda1             10153988   1436412   8193460 
15% /
/dev/hda6             83044948    142288  78616120  
1% /data
/dev/shm                517864         0    517864  
0% /dev/shm
/dev/hda5            101572540  47116688  49213044 
49% /home
/dev/hda2             40631988   4108436  34426268 
11% /usr
df: `/var/named/chroot/proc': Permission denied
[user01 at www ~]$ ps auxw  |grep named
named     1525  0.0  0.3  36820  3112 ?        Ssl 
Feb12   0:03 /usr/sbin/named -u named -t
/var/named/chroot
[user01 at www ~]$ cat /proc/mounts
rootfs / rootfs rw 0 0
...
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/proc /var/named/chroot/proc proc rw,nodiratime 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
automount(pid1739) /net autofs rw 0 0
[user01 at www ~]$


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the fedora-list mailing list