Two listers open, one of them points to a local mirror copy of a remote linux box, the other points to the actual linux box over FTP
Problem:
When synchronizing the two using DOpus sync, some items fail because of permissions on the remote linux box.
The permissions are not a show-stopper, because I can simply use 'sudo' to override the permissions block. The problem is, 'sudo' requires me to use a terminal, I have to leave DOpus in order to do it.
Question:
Is there a way to invoke "sudo" before triggering a synch command via DOpus?
AFAIK you cannot sudo over an FTP (or SFTP) connection. (Not just with Opus, but with anything.) You have to login with the required credentials up-front and most Linux systems are set up not to allow root access via FTP or SFTP.
Something you can do is run batches of shell commands automatically (e.g. via an Opus button) using plink.exe (part of the PuTTY suite). That might let you solve the problem in another way. For example, you could copy the files to a holding area using Opus, then click another button which uses plink to log in, sudo, then copy the files to the real location. (plink lets you automate what you'd type into a terminal window, essentially.)
If it were me I'd probably push for an account to be created which can write the files directly without root access. That would make the Linux system more secure, too, since then they wouldn't have to give out the root (sudo) password for people who just need to copy some files.