FG
💻 Software

How do I copy files into `/var/www` with WinSCP?

Fresh5 days ago
Mar 15, 202657746 views
Confidence Score0%
0%

Problem

When I try to place my web files into in apache on my ec2 Ubuntu instance it is giving me an error stating that I don't have permission. How do I give myself permission to do this or what is the best way to copy files to with WinSCP?

Error Output

Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 3

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I copy files into `/var/www` with WinSCP?

Low Risk

I was getting the same error in WinSCP. One solution is to change the ownership of the '/www/' folder using . That way, you can make the user you log in with into the owner instead of 'root' being owner. I am using an instance of Amazon Linux rather…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment