The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/usr/bin/install: cannot remove `/etc/my.cnf\': Operation no

Discussion in 'General Discussion' started by jayglate, Dec 14, 2001.

  1. jayglate

    jayglate Active Member
    PartnerNOC

    Joined:
    Aug 13, 2001
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    /usr/bin/install: cannot remove `/etc/my.cnf\': Operation not permitted

    How do we fix? and what is it?
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    That\'s the base profile for mysqladmin........ if this is a fresh box I don\'t see why you can\'t remove it to appease the install program.
     
  3. Mat

    Mat Well-Known Member

    Joined:
    Sep 26, 2001
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Someone chattr +i\'d the my.cnf, I\'ve done this on many of my boxes since I\'ve gotten tired of WHM replacing the my.cnf with the standard one....

    [Edited on 12/15/01 by Mat]
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Ah, should have known.
    My bad- Yea whenever you see \"operation not permitted\" just figure that the renowned immutable bit hath been applied to the file in question. And/or some ungoldy other bit setting or thrice-removed old root user has permission over it.


    Word.
     
  5. Mat

    Mat Well-Known Member

    Joined:
    Sep 26, 2001
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Jay,

    Just to make sure were on the same level, Since I just chattr\'d the my.cnf on our server with you, I hope your not gonna change this :) I will be very mad, I finally got this mysql lined out and the server is running great since I got rid of the crappy my.cnf.. :D
     
Loading...

Share This Page