From owner-freebsd-stable Tue Apr 23 5:35: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gromit.it.su.se (gromit.it.su.se [130.237.95.77]) by hub.freebsd.org (Postfix) with ESMTP id 0EED537B417 for ; Tue, 23 Apr 2002 05:35:04 -0700 (PDT) Received: (from rnyberg@localhost) by gromit.it.su.se (8.11.6/8.11.6) id g3NCXxt23156; Tue, 23 Apr 2002 14:33:59 +0200 (CEST) (envelope-from rnyberg) Date: Tue, 23 Apr 2002 14:33:59 +0200 From: Richard Nyberg To: "Oles' Hnatkevych" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: nwfs + ftpd Message-ID: <20020423143357.B22960@gromit.it.su.se> Mail-Followup-To: Richard Nyberg , Oles' Hnatkevych , freebsd-stable@FreeBSD.ORG References: <14021901502.20020423150106@fc.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <14021901502.20020423150106@fc.kiev.ua>; from gnut@fc.kiev.ua on Tue, Apr 23, 2002 at 03:01:06pm +0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ftpd uses the sendfile(2) function, which some network file systems aren't compatible with. I think your best bet is to use a ftp daemon that doesn't use it. Eg. pure-ftpd can be configured not to. -Richard On Tue, Apr 23, 2002 at 03:01:06pm +0300, Oles' Hnatkevych wrote: > Hello , > > Seems that I've found a feature or a bug ;) > > I've got a Netware share mounted to FreeBSD-4.5 box > /SERVER:USER/VOL1 on /DIR (nwfs) > > everything is OK but getting files from this > directory via ftp, using regular ftpd that is > /usr/libexec/ftpd ;) > > When I "get" file, I get a memory dump, not > the real content of the file, though the > length is the same ;) and I got difficulties > with even accessing it. The directory I mount > to is owned by separate user and group, not the > root:wheel. If someone wants to even see the > directory in FTP "ls" output instead of > "ftpd: DIR: Permission denied", it had to be > in the wheel group ;) but the file content > problem remains. ;) > > I wonder how ftpd is limited to the directories > where netware shares are mounted? > > Where am I wrong? > > With best wishes, Oles' Hnatkevych, http://gnut.kiev.ua, gnut@fc.kiev.ua > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message