[scponly] Filezilla: "Fatal: unable to initialise SFTP: could not connect"

Frappy John frappyjohn at gmail.com
Mon Jan 23 03:38:28 EST 2006


On 1/23/06, Hideyuki KURASHINA <rushani at bl.mmtr.or.jp> wrote:
>
>
> >>> On Mon, 23 Jan 2006 01:42:46 -0500, Frappy John <frappyjohn at gmail.com>
> said:
>
> > A Google search tells me that one reason for the "Operation not
> permitted"
> > error is that chroot is not being run by the superuser. Do you think
> that is
> > the problem?
>
> Yes.  If you do want user processes chroot'ed, root privilege is required.
>
> > If so, It looks like chroot is being run by the scponly
> > process. How would I go about changing the owner of the scponly process
> to
> > root?
>
> Please make sure your "scponlyc" (the chroot'ed binary of scponly) has
> a set-uid bit to root.  It should be already cared in normal installation,
> though.
>
> -- rushani



That was it!! And you were right: the original scponlyc from the
installation *was* SUID. I goofed things up by making a copy of it, and
apparently the SUID didn't copy over!?!

All is well. Thank you. Thank you. Thank you, Rushani!!

John
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the scponly mailing list