views:

119

answers:

1

I'm copying this question from over here: http://getsatisfaction.com/cyberduck/topics/can_i_use_sudo_over_sftp_with_cyberduck

I am having the same issue and finding it hard to find an answer:

I am using Cyberduck over SFTP. I can connect and browse files fine, but when I try to upload, I get a permissions error. Web host says I need to use the 'sudo' command. I know how to do this via Terminal, but it is possible to to tell Cyberduck to use sudo?

Please don't tell me to use root because:

What if you don't have root access or don't want to enable root access?

A: 

I think the best solution is to use your sudo in ssh to modify permissions. You could even write a small shell script to give you access while you are working and set the permissions back when you are done.

I am actually curious if there is a better way to do this, but I am pretty sure that there is not.

jeffp