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: Editing a file gives error code 3 permission denied but file is saved

What is the actual error message? You have posted only error details.
luberti

Editing a file gives error code 3 permission denied but file is saved

Hello I'm experiencing the following problem.
I use WinSCP 5.19.4
I connect using SFTP on port 22 to a CentOS 7 server
I have to edit file with 775 user rights set.
My user is not the owner but is in the same group as the owner
I can create files in the same directory with no issue.
I can create delete and rename the file with 775 rights with no issue.
When I try to edit the file opening it in my local editor (Notepad++) and save the file, the upload is performed but I get:
Permission denied.
Error code: 3
Error message from server: Permission denied

However if I reload the file in the editor the file has been modified.

If I edit the file using an editor on the remote machine (es :vi) with the same user there are no issues.