title: Permission in google cloud sftp
body: <p>I am using wordpress with google cloud and set it up for sftp connection. The permission to folders are 755 and files are 644. Even i have changed Cloud API access scopes to "allow full connection".</p>
  
  <p>When i try to add plugin through wordpress backend it will ask me for ftp credentials unless i change to <code>sudo chown -Rf www-data.www-data /var/www/html</code> but then i can't upload or change any file through sftp unless i change <code>sudo chown -R [my-user-name]:www-data /var/www/html</code>.</p>
  
  <p>So i have to change permissions every time i change something either through sftp or through backend.</p>