This shows you the differences between two versions of the page.

Link to this comparison view

linux:ispconfig_protected_dirs [2017/12/13 17:34] (current)
Line 1: Line 1:
 +====== 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:
 +<code console>#​ chattr -i /​var/​www/​clients/​client0/​web1</​code>​
 +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:
 +<code console>#​ chattr +i /​var/​www/​clients/​client0/​web1</​code>​
  • linux/ispconfig_protected_dirs.txt
  • Last modified: 2017/12/13 17:34
  • (external edit)