Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Preventing CPanel Updating Squirrelmail

Discussion in 'E-mail Discussion' started by ukstu, Apr 18, 2007.

  1. ukstu

    ukstu Member

    Joined:
    Dec 19, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    As the title says, is there a method that would allow me to disable the cpanel updating of squirrelmail.
    Installed lots of templates for squirrelmail yesterday, after lastnights update they are gone :(
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Read /usr/local/cpanel/src/3rdparty/gpl/README-squirrelmail
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ukstu

    ukstu Member

    Joined:
    Dec 19, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    Thank you.
     
  4. ukstu

    ukstu Member

    Joined:
    Dec 19, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    Hi,
    Sorry I'm still a little lost on this, I have read the suggested README but am still confused as to what I need to do to prevent CPanel updating SquirrelMail.

    Reading that README it looks like CPanel wipes out squirrelmail every night and reinstalls deleting any modifications - I don't really understand this.

    Any help would be appreciated.
    Thanks.


     
  5. Servax

    Servax Member

    Joined:
    Feb 23, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    This is a old topic, but I figure I'd complete it:

    To prevent squirrelmail from updating itself,

    This will make it so the cPanel webmail update script thinks we did a local install, which will cause it to not update it.

     
    #5 Servax, Jul 11, 2007
    Last edited: Jul 13, 2007
  6. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    66
    Sorry to dig up this old thread but when i do the following as indicated above I get permission denied errors.

    [root@host ~]# touch /var/cpanel/squirrelmail/install
    touch: cannot touch `/var/cpanel/squirrelmail/install': Permission denied
    [root@host ~]# chmod 0777 touch /var/cpanel/squirrelmail/install
    chmod: cannot access `touch': No such file or directory
    chmod: changing permissions of `/var/cpanel/squirrelmail/install': Operation not permitted


    How can I fix this?
     
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    That looks like you have other problems. Perhaps the /var partition is mounted read-only?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    66
    It turns out the file install had attribute set as 'i'.

    ======================================
    [root@host squirrelmail]# lsattr
    ----i-------- ./install
    [root@host squirrelmail]# chattr -i install
    [root@host squirrelmail]# lsattr
    ------------- ./install
    [root@host squirrelmail]# touch install
    [root@host squirrelmail]#
    ======================================

    A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.

    I must have done this previously without realizing it.
     
  9. GoHard

    GoHard Member

    Joined:
    Jan 6, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    Hi guys,

    This is not related to squirrel mail but it is related to locking the files as
    mentioned in this post...

    I have done some updates to EXIM under the exim.conf file and every other
    day or so I have to keep adding the file back because when cpanel updates
    it wipes out all of the changes.

    So is there a way to make it so cpanel will not update exim.conf and leave
    the preconfiged settings when it updates?

    Thanks,
    Joe
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice