mount_smbfs & pure-ftpd problem
Adam Lofstedt
adaml at visimation.com
Wed Apr 9 10:10:38 PDT 2003
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Carl Morley
> Sent: Wednesday, April 09, 2003 4:32 AM
> To: FreeBSD Questions
> Subject: mount_smbfs & pure-ftpd problem
>
>
> Hi,
> I have a pure-ftpd server running on a FreeBSD 4.8-STABLE
> box. I needed to offer a Windows 2000 share on another box,
> to the internet. Simple, I thought, I'll just mount_smbfs
> the share from the pure-ftpd server, then make that directory
> 'home' for external ftp users.
>
> This has not worked though. I can 'put' files, but cannot
> 'get' them. If I try a 'get', I receive '450 Error during
> write to data connection' at the ftp client end, and
> 'smb_maperror: Unmapped error 1:158' on the dmesg output at
> the ftp server.
>
> Pure-ftpd works fine by itself, if the Win2K share is not
> mounted. And from the FTP box I can happily copy stuff to
> and fro from the Win2K share via the mount_smbfs mounted point.
>
> But together they will not let me 'get'. Any ideas?
>
Most likely it is permissions. I had a similar problem, and the only
way out of it was to chmod the mount dir on the ftp server to 777.
Which is not really a good permanent solution...
Adam
More information about the freebsd-questions
mailing list