Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Cannot overwrite remote file '/etc/nginx/nginx.conf'. Press 'Delete' to delete the file and create n

Please explain why you believe it's WinSCP problem. It looks like you simply do not have permissions to edit the file. You possibly need to login with another account (or even root) to edit it.
See How do I change user after login (e.g. su root)?
redstoneleo

Cannot overwrite remote file '/etc/nginx/nginx.conf'. Press 'Delete' to delete the file and create n

I am using the AWS Lightsail, it worked well if I change the config file of nginx by using WinSCP Editor, but these day when saving the edited config file, I got permission error:
Cannot overwrite remote file '/etc/nginx/nginx.conf'.
Press 'Delete' to delete the file and create new one instead of overwriting it.
Permission denied.

So what's wrong ? How to fix it?