Duplicating failing when using sudo on login

Advertisement

immewnity
Joined:
Posts:
1
Location:
Chicago, IL

Duplicating failing when using sudo on login

I've got an SFTP site set up as per the "Use sudo on Login" section of https://winscp.net/eng/docs/faq_su:

* SFTP->SFTP server is set to
sudo /usr/lib/openssh/sftp-server
*
myusername ALL=NOPASSWD: /usr/lib/openssh/sftp-server
is set in sudoers
* Additionally, authentication is via password-protected SSH key.

This works perfectly fine for most file operations; I can edit/delete/move files without issue. However, when I try and duplicate files (https://winscp.net/eng/docs/ui_duplicate), I get an error with exit status 1:

Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

Duplicating via local temporary copy works fine.

Am I missing something, or is this expected?

Reply with quote

Advertisement

You can post new topics in this forum