aliasdomain (vhost) permissions

Discussion in 'General' started by nhybgtvfr, Aug 4, 2017.

  1. nhybgtvfr

    nhybgtvfr Member

    hi, i just want to double check, what should be the correct folder permissions for the document root for an aliasdomain vhost.
    it just that looking at /usr/local/ispconfig/server/plugings-available/apache2_plugin.inc.php
    it quite specifically sets the document root /web folder to 711,
    for a vhostsubdomain or a vhost alias, it sets to document root folder to 710.
    why the discrepancy?
    at the moment if i create a new vhost aliasdomain i have to remember to chmod the folder to 711, and if i resync the sites on a server, i have to remember to chmod the root folder to 711 again for every aliasdomain vhost. otherwise visitors just get a 'you don't have permission to access / on this server' message.

    thanks
    lee.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    it should be 711 for the vhost alias or subdomain as well. the web dir had 710 before and we changed that. Please make a bug report for this.
     

Share This Page