From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 10:10:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7103637B401 for ; Wed, 9 Apr 2003 10:10:38 -0700 (PDT) Received: from visimation.com (visimation.com [206.169.230.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53CD443F85 for ; Wed, 9 Apr 2003 10:10:35 -0700 (PDT) (envelope-from adaml@visimation.com) Received: from Spooler by visimation.com (Mercury/32 v3.32) ID MO00054A; 9 Apr 03 10:06:40 -0700 Received: from spooler by visimation.com (Mercury/32 v3.32); 9 Apr 03 10:06:19 -0700 Received: from 5adam5 (12.242.137.62) by visimation.com (Mercury/32 v3.32) with ESMTP ID MG000549; 9 Apr 03 10:06:14 -0700 From: "Adam Lofstedt" To: "'Carl Morley'" , "'FreeBSD Questions'" Date: Wed, 9 Apr 2003 10:10:12 -0700 Organization: Visimation, Inc. Message-ID: <003c01c2feba$e21e8ba0$c601a8c0@5adam5> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <000001c2fe8b$a6d87cb0$0a64a8c0@webizepc> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Subject: RE: mount_smbfs & pure-ftpd problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: adaml@visimation.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 17:10:38 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@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