+ Post New Thread
Results 1 to 9 of 9
*nix Thread, chmod in Technical; Why does my chmod look like this? how do I use it? Code: ----------. 1 root root 48712 Mar 10 ...
  1. #1


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    chmod

    Why does my chmod look like this?
    how do I use it?

    Code:
    ----------. 1 root root   48712 Mar 10 13:51 chmod
    it is a default RHEL 6.1 install

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    I fixed it now. but what is going on here?

  3. #3
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    Run 'history [n] | grep chmod' (man history) and scan thru the list as long as you can be arsed to see if it was issued at CLI...

  4. #4


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    it's not been used. New installation.
    Perhaps the permissions were corrupted during install?

  5. #5
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    *shrug* can't find anything in the release notes or technical notes that'd explain it... seems odd tho that permissions would get corrupted at install. If that was the case, system wouldn't be able to use chmod to set attributes on other files, therefore I'd expect quite a lot to have odd properties. How do the other system binaries look?

  6. #6


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    everything else looks fine. odd

  7. #7
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    Knock up another fresh install in virtualbox on a PC and compare? Only thing I can think to do... see if the vbox install comes out the same... if not, something very wierd is going on!

  8. #8


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    fine on a similar system:

    Code:
    -rwxr-xr-x. 1 root root   52472 Mar 10 13:51 chmod
    Code:
    cat /etc/redhat-release 
    Red Hat Enterprise Linux Server release 6.1 (Santiago)

  9. #9

    Join Date
    Apr 2011
    Location
    Pennsylvania
    Posts
    48
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    I'm not too familiar with Red Hat. Does Red Hat have a "check CD for defects" option like Ubuntu does? That would be my first guess, along with comparing the downloaded ISO's MD5's just to have some extra assurance. Very strange, though...

SHARE:
+ Post New Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •