Create folders inside website folders created by ISPConfig 3

When a new site is created inside ISPConfig 3, the directories are given a protected attribute. Because of this, not even a root account can create folders or files. In order to get around this, the protection attribute must be temporarily removed from the directory. You can do so by using the chattr command:

# chattr -i /var/www/clients/client0/web1

This will remove the protection and allow you to add any desired folders. When complete, you are advised to put the protection back in place:

# chattr +i /var/www/clients/client0/web1

  • linux/ispconfig_protected_dirs.txt
  • Last modified: 2017/12/13 17:34
  • (external edit)