Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default /scripts/restorepkg mailman chowning

    This may already be fixed in 11.25. I checked through the changelog, I didn't see anything pertaining to this, but that's not to say that it isn't already fixed.

    I've noticed that when you restore an account using /scripts/restorepkg (and I suspect the WHM restore utility). There is a process that does a:

    chown -R mailman:mailman /usr/local/cpanel/3rdparty/mailman

    This can take a considerable amount of time if there are a lot of mailing lists on the server. And is really unnecessary if the restoring account does not have any Mailman mailing lists.

    Could this be optimized better? Perhaps only chowning the lists that are restored from the restored account, if any exist?

    If you have a lot of accounts to restore all at once, and if the server has several Mailman mailing lists, then you can spend a lot of time with the chown -R mailman:mailman /usr/local/cpanel/3rdparty/mailman process, which really isn't necessary.

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    What is the full cPanel version number of the system?

    Either of the following two commands may be used to obtain the full cPanel version number with build ID:
    Code:
    # cat /usr/local/cpanel/version && echo
    # /usr/local/cpanel/cpanel -V

Similar Threads & Tags
Similar threads

  1. /scripts/restorepkg question - can 2 or more restorepkg run at the same time?
    By sharmaine001 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-05-2010, 11:54 AM
  2. /scripts/restorepkg ?
    By meeven in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-11-2008, 07:47 PM
  3. Bug(s) in /scripts/restorepkg
    By marty_parish in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-12-2008, 10:13 PM
  4. /scripts/restorepkg behaviour in cpanel11
    By Support-SG in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 11-29-2007, 10:36 AM
  5. /scripts/restorepkg errors
    By ANewDay in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-19-2007, 02:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube