Problemas pastas /bin

1. Problemas pastas /bin

Luciano A Paschoal
lucianopaschoal

(usa Red Hat)

Enviado em 25/03/2010 - 14:06h

Olá, sou novo no linux, e me deparei com o problema abaixo.
Tentei rodar outro dia o comando ls -lh, mas deu erro; então começei pesquisar e descobri que os programas login, ls, ps, netstat estão com proprietário diferente na pasta /bin.
Eu tentei substituir, mas não consegui.
Notem que até copiei esses arquivos de outro servidor para esta pasta e salvei como "login.novo","ps.novo","ls.novo" e "netstat.novo", mas não consigo substituir o atual.

Alguém tem idéia do que posso fazer pra resolver isso?

[root@sappia bin]# ll
total 6148
-rwxr-xr-x 1 root root 17260 Apr 3 2006 alsaunmute
-rwxr-xr-x 1 root root 4576 May 24 2006 arch
-rwxr-xr-x 1 root root 98356 Jun 15 2004 ash
-rwxr-xr-x 1 root root 522116 Jun 15 2004 ash.static
lrwxrwxrwx 1 root root 4 Nov 9 23:07 awk -> gawk
-rwxr-xr-x 1 root root 15444 Apr 10 2006 basename
-rwxr-xr-x 1 root root 616248 Apr 12 2006 bash
lrwxrwxrwx 1 root root 3 Nov 9 23:07 bsh -> ash
-rwxr-xr-x 1 root root 19140 Apr 10 2006 cat
-rwxr-xr-x 1 root root 35204 Apr 10 2006 chgrp
-rwxr-xr-x 1 root root 34768 Apr 10 2006 chmod
-rwxr-xr-x 1 root root 37704 Apr 10 2006 chown
-rwxr-xr-x 1 root root 59100 Apr 10 2006 cp
-rwxr-xr-x 1 root root 55368 Apr 9 2006 cpio
lrwxrwxrwx 1 root root 4 Nov 9 23:08 csh -> tcsh
-rwxr-xr-x 1 root root 29472 Apr 10 2006 cut
-rwxr-xr-x 1 root root 46484 Apr 10 2006 date
-rwxr-xr-x 1 root root 32096 Apr 10 2006 dd
-rwxr-xr-x 1 root root 35272 Apr 10 2006 df
-rwxr-xr-x 1 root root 6420 May 24 2006 dmesg
lrwxrwxrwx 1 root root 8 Nov 9 23:06 dnsdomainname -> hostname
-rwxr-xr-x 1 root root 4432 Apr 20 2006 doexec
lrwxrwxrwx 1 root root 8 Nov 9 23:06 domainname -> hostname
-rwxr-xr-x 1 root root 54464 Jun 15 2004 dumpkeys
-rwxr-xr-x 1 root root 16792 Apr 10 2006 echo
-rwxr-xr-x 1 root root 47252 Jun 15 2004 ed
lrwxrwxrwx 1 root root 4 Nov 9 23:07 egrep -> grep
-rwxr-xr-x 1 root root 15676 Apr 10 2006 env
lrwxrwxrwx 1 root root 2 Nov 9 23:07 ex -> vi
-rwxr-xr-x 1 root root 14376 Apr 10 2006 false
lrwxrwxrwx 1 root root 4 Nov 9 23:07 fgrep -> grep
-rwxr-xr-x 1 root root 252380 Nov 4 2004 gawk
-rwxr-xr-x 1 root root 10552 Dec 1 2004 gettext
-rwxr-xr-x 1 root root 77296 Feb 20 2006 grep
lrwxrwxrwx 1 root root 3 Nov 9 23:07 gtar -> tar
-rwxr-xr-x 3 root root 55824 May 3 2005 gunzip
-rwxr-xr-x 3 root root 55824 May 3 2005 gzip
-rwxr-xr-x 1 root root 10312 Jun 7 2006 hostname
-rwxr-xr-x 1 root root 3089 Nov 4 2004 igawk
-rwxr-xr-x 1 root root 28904 Apr 20 2006 ipcalc
-rwxr-xr-x 1 root root 7132 Jun 15 2004 kbd_mode
-rwxr-xr-x 1 root root 21196 Dec 5 2005 keyctl
-rwxr-xr-x 1 root root 9896 May 24 2006 kill
-rwxr-xr-x 1 root root 183492 Aug 8 2005 ksh
-rwxr-xr-x 1 root root 15440 Apr 10 2006 link
-rwxr-xr-x 1 root root 26880 Apr 10 2006 ln
-rwxr-xr-x 1 root root 79456 Jun 15 2004 loadkeys
-rwxr-xr-x 1 oracle dba 13725 Mar 19 05:30 login
-rwxr-xr-x 1 root root 22732 Mar 24 00:42 login.novo
-rwxr-xr-x 1 oracle dba 39696 Apr 10 2006 ls
-rwxr-xr-x 1 root root 82796 Mar 24 00:29 ls.novo
-rwxr-xr-x 1 root mail 70676 Dec 16 2004 mail
lrwxrwxrwx 1 root root 4 Nov 9 23:09 mailx -> mail
-rwxr-xr-x 1 root root 25060 Apr 10 2006 mkdir
-rwxr-xr-x 1 root root 23072 Apr 10 2006 mknod
-r-xr-xr-x 1 root root 9004 Nov 9 2004 mktemp
-rwxr-xr-x 1 root root 32496 May 24 2006 more
-rwsr-xr-x 1 root root 84232 May 24 2006 mount
-rwxr-xr-x 1 root root 15064 Aug 9 2004 mt
-rwxr-xr-x 1 root root 63524 Apr 10 2006 mv
-rwxr-xr-x 1 oracle dba 54152 Jun 7 2006 netstat
-rwxr-xr-x 1 root root 105640 Mar 24 00:42 netstat.novo
-rwxr-xr-x 1 root root 18300 Apr 10 2006 nice
lrwxrwxrwx 1 root root 8 Nov 9 23:06 nisdomainname -> hostname
-rwxr-xr-x 1 root root 253084 Nov 4 2004 pgawk
-rwsr-xr-x 1 root root 33272 Apr 14 2006 ping
-rwsr-xr-x 1 root root 30924 Apr 14 2006 ping6
-rwxr-xr-x 1 oracle dba 62920 Apr 18 2006 ps
-r-xr-xr-x 1 root root 66448 Mar 24 00:42 ps.novo
-rwxr-xr-x 1 root root 16544 Apr 10 2006 pwd
lrwxrwxrwx 1 root root 2 Nov 9 23:07 red -> ed
-rwxr-xr-x 1 root root 34952 Apr 10 2006 rm
-rwxr-xr-x 1 root root 16556 Apr 10 2006 rmdir
-rwxr-xr-x 1 rpm rpm 84800 May 30 2006 rpm
lrwxrwxrwx 1 root root 2 Nov 9 23:07 rvi -> vi
lrwxrwxrwx 1 root root 2 Nov 9 23:07 rview -> vi
-rwxr-xr-x 1 root root 46772 Apr 13 2006 sed
-rwxr-xr-x 1 root root 31924 Jun 15 2004 setfont
-rwxr-xr-x 1 root root 18568 Oct 11 2004 setserial
lrwxrwxrwx 1 root root 4 Nov 9 23:06 sh -> bash
-rwxr-xr-x 1 root root 17340 Apr 10 2006 sleep
-rwxr-xr-x 1 root root 51708 Apr 10 2006 sort
-rwxr-xr-x 1 root root 38692 Apr 10 2006 stty
-rwsr-xr-x 1 root root 60480 Apr 10 2006 su
-rwxr-xr-x 1 root root 14960 Apr 10 2006 sync
-rwxr-xr-x 1 root root 161188 Apr 13 2006 tar
-rwxr-xr-x 1 root root 307488 Sep 21 2004 tcsh
-rwxr-xr-x 1 root root 31932 Apr 10 2006 touch
-rwxr-xr-x 1 root root 9876 Apr 14 2006 tracepath
-rwxr-xr-x 1 root root 9136 Apr 14 2006 tracepath6
-rwsr-xr-x 1 root root 23332 Oct 11 2004 traceroute
-rwsr-xr-x 1 root root 12300 Apr 14 2006 traceroute6
-rwxr-xr-x 1 root root 14376 Apr 10 2006 true
-rwsr-xr-x 1 root root 54412 May 24 2006 umount
-rwxr-xr-x 1 root root 17024 Apr 10 2006 uname
-rwxr-xr-x 1 root root 1460 Jun 15 2004 unicode_start
-rwxr-xr-x 1 root root 79 Jun 15 2004 unicode_stop
-rwxr-xr-x 1 root root 15516 Apr 10 2006 unlink
-rwxr-xr-x 1 root root 24828 Apr 20 2006 usleep
-rwxr-xr-x 1 root root 474608 Aug 10 2005 vi
lrwxrwxrwx 1 root root 2 Nov 9 23:07 view -> vi
-rw-r--r-- 1 root root 0 Mar 19 05:30 xlogin
lrwxrwxrwx 1 root root 8 Nov 9 23:06 ypdomainname -> hostname
-rwxr-xr-x 3 root root 55824 May 3 2005 zcat
-rwxr-xr-x 1 root root 453836 Jun 27 2005 zsh
[root@sappia bin]#



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts