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

Advertisement

luberti
Joined:
Posts:
1

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,276
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum