Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Google Cloud Platform File Transfer Issues

Issue: Can’t transfer files via FileZilla I get an error in the console saying "Permission Denied". I know why I am getting that error. I can’t log in as a root user via SFTP because in the username field I have an ssh key that allows me to get into my Google Cloud Platform VM via FileZilla

Edit: What can I do to fix this issue or get around it?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can refer to this documentation for "Permission denied" issues when uploading files to your vm thru SFTP.

  1. Identify Error
    Permission denied errors occur when you don’t have the required permissions to make changes to a file that you’re trying to edit over FTP.

  2. Connect to VM Instance
    Connect to your VM instance using the SSH (Linux Shell) terminal.

  3. Check File Permissions
    Execute the following command:

stat -c "%a %n" /path/to/file

  1. Edit File Permissions
    Run the following command:

sudo chmod 777 /path/to/file

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading