Thread: Wrong chmod!!
View Single Post
  #8  
Old 16th February 2007, 13:15
nox171 nox171 is offline
Member
 
Join Date: Dec 2006
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Right thanks
I've just started.

I found something like that:
Code:
server1:/bin # chown root:root /bin/*
server1:/bin # ls -la
total 6224
drwxr-xr-x   2 root            root     4096 Dec 10 20:23 .
drwxr-xr-x  20 root            root     4096 Jul 17  2006 ..
-rwxr-xr-x   1 root            root     3472 Sep 13  2005 arch
-rwxr-xr-x   1 root            root   110912 Sep  9  2005 ash
-rwxr-xr-x   1 root            root   584652 Sep  9  2005 ash.static
lrwxrwxrwx   1 web22_xxxxxxx web22       4 Jul  6  2006 awk -> gawk
-rwxr-xr-x   1 root            root    15168 Jan 31  2006 basename
-rwxr-xr-x   1 root            root   490716 Sep  9  2005 bash
-rwxr-xr-x   1 root            root    19220 Jan 31  2006 cat
-rwxr-xr-x   1 root            root    37020 Jan 31  2006 chgrp
-rwxr-xr-x   1 root            root    36044 Jan 31  2006 chmod
-rwxr-xr-x   1 root            root    40284 Jan 31  2006 chown
-rwxr-xr-x   1 root            root     5000 Sep  9  2005 chvt
-rwxr-xr-x   1 root            root    61548 Jan 31  2006 cp
-rwxr-xr-x   1 root            root   100480 Apr 27  2006 cpio
lrwxrwxrwx   1 web22_xxxxxxx web22       4 Jul  9  2006 csh -> tcsh
-rwxr-xr-x   1 root            root    47368 Jan 31  2006 date
-rwxr-xr-x   1 root            root    44748 Jan 31  2006 dd
-rwxr-xr-x   1 root            root     5472 Sep  9  2005 deallocvt
-rwxr-xr-x   1 root            root    38696 Jan 31  2006 df
-rwxr-xr-x   1 root            root     5140 Sep 13  2005 dmesg
lrwxrwxrwx   1 web22_xxxxxxx web22       8 Jul  6  2006 dnsdomainname -> hostname
lrwxrwxrwx 1 web22_xxxxxx web22 4 Jul 6 2006 sh -> bash

using this command:
Code:
chown root:root /bin/*
As you can see that folders whit this symbol ->, (are them folders? ) don't change the permission to root...

Do you know why?
Reply With Quote