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.

Subdomain restore missing open_basedir

Discussion in 'General Discussion' started by sparek-3, Aug 23, 2007.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    There appears to be a bug in cPanel account restore function.

    If a server has open_basedir protection enabled, then when an account is restored from a backup, the subdomains for that account do not include the open_basedir lines in the VirtualHost entry for the subdomains.

    For example, if you have the domain, example.com and it has a subdomain, sub.example.com. And if you have open_basedir protection enabled on the server. If that account is restored from its backup, the VirtualHost for example.com will be correct, it will have the open_basedir protection lines. However, the VirtualHost for sub.example.com will not have the open_basedir protection lines.

    I have tested this on Release-16448. The same behavior can be seen whether you use the command line /scripts/restorepkg or if you restore an account from a backup in the WHM.

    I have posted this in Bugzilla

    http://bugzilla.cpanel.net/show_bug.cgi?id=5781
     
Loading...

Share This Page