Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29255

Cannot copy file from local machine to AWS ec2 instance

$
0
0

In my Amazon EC2 instance, my application is located at '/usr/local/apps/[my_app]'. My problem is that I cannot transfer my file from local machine to the remote server. Supposed on my local path directory, I have a file named "dog.txt". On sftp connection with my Amazon EC2 instance, I can put dog.txt successfully; however, when I jump into '/usr' folder, I cannot even put dog.txt anymore. It said that

Uploading dog.txt to /usr/dog/txt

remote open("/usr/dog.txt"): Permission denied

Please help


Viewing all articles
Browse latest Browse all 29255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>