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.

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)


Topic review


Re: Problems copying files by sFTP using a user with root privileges

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Problems copying files by sFTP using a user with root privileges

The remote file can not be created, Permission denied, Error code 3, Error message from the server: Permission denied.

He verified that my user is inside the file
ezabaleta ALL = (ALL) NOPASSWD: ALL

As you can also add the value!

The sftp server location of the ssh service configuration file is:
Subsystem sftp / usr / libexec / openssh / sftp-server

Now in the WinSCP the path of / usr / libexec / openssh / sftp-server is configured in the option of Advanced> sFTP and in version of the sFTP protocol version 3.

In the Advanced Shell option, sudo has been added

It has made all those configurations and still does not allow me to copy, please stay waiting for your early support.