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:
If I edit the file using an editor on the remote machine (es :vi) with the same user there are no issues.
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:
However if I reload the file in the editor the file has been modified.Permission denied.
Error code: 3
Error message from server: Permission denied
If I edit the file using an editor on the remote machine (es :vi) with the same user there are no issues.