Unset ISPConfig 3 folder security

Unset ISPConfig 3 folder security

Unset ISPConfig 3 folder security

When a new site is created inside ISPConfig 3, the directories protected. Not even a root account can create folders or files in those folders. To bypass the protection, the protection attribute must be temporarily removed from the directory. This can be accomplished using the chattr command:

# chattr -i /var/www/clients/client1/web1
This will remove the protection and allow you to add any desired folders.

# chattr +i /var/www/clients/client1/web1
When complete, put the protection back in place.

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *