My apache VPS is having a minor problem. Using SSH, I gave permission to my FTP username with code below: chown -R user:ftpgroup /home/site But my WP theme needs to set up that user I use is rewritable and use this code: chown -R www-data:www-data /home/site since using a php code to check WP user and it shows www-data. MY PROBLEM: I need my FTP to able to write cause i use plugin to create backup and change plugin. My theme also need for both to work. I can't seem to make run together. I can change group or FTP as long as I can have m WP working. Any suggestion as to what I need to create?
Do you guys know any code using SSH on how to make my FTP user as a site user as well? really tried everything here.
You are setting ownership not permission. What about to set ownership to www-data.ftpgroup? To change permissons use chmod.