Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 14:33:59 +0200
From:      Richard Nyberg <rnyberg@it.su.se>
To:        "Oles' Hnatkevych" <gnut@fc.kiev.ua>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: nwfs + ftpd
Message-ID:  <20020423143357.B22960@gromit.it.su.se>
In-Reply-To: <14021901502.20020423150106@fc.kiev.ua>; from gnut@fc.kiev.ua on Tue, Apr 23, 2002 at 03:01:06pm %2B0300
References:  <14021901502.20020423150106@fc.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423143357.B22960>