|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jan-Frode Myklebust (janfrode
parallab.uib.no)Date: Tue Nov 13 2001 - 14:58:01 CST
On Mon, Nov 12, 2001 at 10:34:56PM +0000, Chris Evans wrote:
>
> Ok, the thing deserves a 1.x release version now, it seems to be doing
> useful work on various production sites.
>
Doesn't build for IRIX anymore. IRIX has posix capabilities, but not
"linux capabilities".. CAP_NET_BIND_SERVICE=CAP_PRIV_PORT,
CAP_CHOWN=CAP_CHOWN. Not sure what CAP_EFFECTIVE, CAP_PERMITTED and
CAP_SET are supposed to do.
% diff -u sysdeputil.c-original sysdeputil.c
--- sysdeputil.c-original Tue Nov 13 21:32:56 2001
+++ sysdeputil.c Tue Nov 13 21:32:05 2001

-85,6 +85,7 
#ifdef __sgi
#undef VSF_SYSDEP_HAVE_USERSHELL
+ #undef VSF_SYSDEP_HAVE_LIBCAP
#endif
#if (defined(__sgi) || defined(__hpux))
This makes it build, but unfortunately there seems to be a problem with
serverside filehandling. I can read (get), but not put/delete/rename.
% ftp localhost
Connected to localhost.uib.no.
220 ready, dude (vsFTPd 1.0.0: beat me, break me)
Name (localhost:janfrode):
331 Please specify the password.
Password:
230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /tmp
250 Directory successfully changed.
ftp> lcd /etc
Local directory now /etc
ftp> put passwd
local: passwd remote: passwd
200 PORT command successful. Consider using PASV.
500 Unknown command.
ftp> ls deleteme
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 5768 20 0 Nov 13 20:45 deleteme
226 Directory send OK.
ftp> delete deleteme
500 Unknown command.
ftp> rename deleteme deleteme2
500 Unknown command.
ftp> lcd /var/tmp
Local directory now /var/tmp
ftp> get deleteme
local: deleteme remote: deleteme
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for deleteme (0 bytes).
226 File send OK.
ftp>
-jf
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]