Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use openpanel with my vps and i am currently working on a plain wordpress install. When i create a new vhost the permissions of the folder are set to the owner 1001(root) thus i cannot really make normal edits to the configuration file(wp-config.php) and save them. Am i doing something wrong? As ftp user i use the credentials of the user i created after the installation of openpanel. What's the difference between the initial user, the master ftp and the website ftp user? I would appreciate any help. Thanks in advance.

share|improve this question

After logging in to Openpanel with your openpanel-admin user, click on the User tab and in the bottom left corner, click the + symbol to create a new user (for example "user"). Just fill out the form and select openpanel-admin as the owner.

Then go to the Domain tab, create a new Domain (eg. ""), and set the user you just created as the owner. Select the newly created domain in the panel’s side bar and click 'Setup DNS Master'. Fill in the domain name and hit Create.

Under Domain, click on the Website tab. Click "Setup Virtual Host". Fill out the domain name (optionally enter the site admin email address) and hit Create. Under Domain, click on the FTP Account tab and then "Set Up FTP Account". The username must be in the format, "".

Proceed with 'Set Up Email', 'Set Up Mailbox', Database and MySQL user like usual. When you're finished SSH on to your server, go to your /home directory, and apply the following commands to your domain directory.

sudo chown -R [username]:www-data /home/[username]
sudo chmod -R g+s /home/[username]
sudo echo 137 027 > /etc/pure-ftpd/conf/Umask
sudo /etc/init.d/pure-ftpd restart

Now you'll be able to upload files with your new FTP user, to your username's home directory with the appropriate permissions and the ability to make them writable for Apache. Here's a forum post from the openpanel forums regarding a similar case:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.