File permissions for updates

If you are getting a permissions error on the update page of Freelance Cockpit you might need to change your folder permissions. The reason why this message comes up is because your server needs writing permissions for all files in order to replace them during the update process. 

In order to allow your web user to change all files if needed you can run the following command in order to change the ownership of the files to the web server user.

Please note that your web user is not called www-data in this case you need to contact your hosting provider in order to get the correct username. Also your path might be slighly different.

sudo chown -R www-data:www-data /var/www/YourFolderName