macfusion-ng / macfusion2

Macfusion2
225 stars 28 forks source link

Issue with extra options and spaces #8

Open strayer opened 11 years ago

strayer commented 11 years ago

Mounting will fail when adding an extra option like this: -o sftp_server="/usr/bin/sudo /usr/lib/openssh/sftp-server"

Seems like the options parser splits options by spaces?

This is the output in the log window: (SSHServerFS, ManagePi, 09.09.13 17:52) debug1: Sending command: "/usr/bin/sudo

ElDeveloper commented 11 years ago

Thanks for reporting this, I'll take a look at it. As far as I remember, you are right, options are separated using spaces, so that procedure is probably the culprit.

El 09/09/2013, a las 11:54, Sven Grunewaldt notifications@github.com escribió:

Mounting will fail when adding an extra option like this: -o sftp_server="/usr/bin/sudo /usr/lib/openssh/sftp-server"

Seems like the options parser splits options by spaces?

This is the output in the log window: (SSHServerFS, ManagePi, 09.09.13 17:52) debug1: Sending command: "/usr/bin/sudo

— Reply to this email directly or view it on GitHub.