I try to configure an anonymous ftp server on QNX 6.4.
I startet ftpd from inetd.con
ftp stream tcp nowait root /usr/sbin/ftpd in.ftpd -d
/etc/passwd
ftp:x:14:80:FTP User:/var/ftp:
/etc/group
ftp:x:80:ftp
/var/ftp/:
total 10
drwxrwxr-x 5 ftp ftp 1024 Dec 15 23:45 .
drwxr-xr-x 11 root root 1024 Dec 15 23:43 ..
dr-x--x--x 2 ftp ftp 1024 Dec 15 23:49 bin
dr-x--x--x 2 ftp ftp 1024 Dec 15 23:46 etc
dr-xr-xr-x 2 ftp ftp 1024 Dec 15 23:45 pub
/var/ftp/bin:
total 2480
dr-x--x--x 2 ftp ftp 1024 Dec 15 23:49 .
drwxrwxr-x 5 ftp ftp 1024 Dec 15 23:45 ..
---x--x--x 1 ftp ftp 19983 Oct 21 22:06 ls
---x--x--x 1 ftp ftp 956262 Oct 21 22:06 tar
---x--x--x 1 ftp ftp 127639 Oct 21 05:53 unzip
---x--x--x 1 ftp ftp 162581 Oct 21 22:06 zip
/var/ftp/etc:
total 7
dr-x--x--x 2 ftp ftp 1024 Dec 15 23:46 .
drwxrwxr-x 5 ftp ftp 1024 Dec 15 23:45 ..
-r--r--r-- 1 ftp ftp 203 Dec 14 15:17 group
-r--r--r-- 1 ftp ftp 60 Dec 15 23:50 motd
-r--r--r-- 1 ftp ftp 340 Dec 15 21:05 passwd
/var/ftp/pub:
total 4
dr-xr-xr-x 2 ftp ftp 1024 Dec 15 23:45 .
drwxrwxr-x 5 ftp ftp 1024 Dec 15 23:45 ..
_____________________________________________________________________________
/var/log/syslog
Dec 16 00:09:19 nto ftpd[294934-1]: using conservative LOGIN_NAME_MAX value
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 220 robbie.klein.local FTP server
(QNXNTO-ftpd 20070723) ready.
Dec 16 00:09:19 nto ftpd[294934-1]: command: USER anonymous
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 331 Guest login ok, type your name
as password.
Dec 16 00:09:19 nto ftpd[294934-1]: command: PASS IEUser@
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 230-
Dec 16 00:09:19 nto ftpd[294934-1]: can't getcwd: No such file or directory
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 230 Guest login ok, access
restrictions apply.
Dec 16 00:09:19 nto ftpd[294934-1]: command: opts utf8 on
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 502 Unknown command 'utf8'.
Dec 16 00:09:19 nto ftpd[294934-1]: command: syst
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 215 UNIX Type: L8 Version:
QNXNTO-ftpd 20070723
Dec 16 00:09:19 nto ftpd[294934-1]: command: site help
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 214-
Dec 16 00:09:19 nto ftpd[294934-1]: <--- The following SITE commands are
recognized.
Dec 16 00:09:19 nto ftpd[294934-1]: <--- (`-' = not implemented, `+' =
supports options)
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 214 Direct comments to
ftp-...@robbie.klein.local.
Dec 16 00:09:19 nto ftpd[294934-1]: command: PWD
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 257 "/" is the current directory.
Dec 16 00:09:19 nto ftpd[294934-1]: command: TYPE A
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 200 Type set to A.
Dec 16 00:09:19 nto ftpd[294934-1]: command: PASV
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 227 Entering Passive Mode
(192,168,1,3,255,254)
Dec 16 00:09:19 nto ftpd[294934-1]: command: LIST
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 150 Opening ASCII mode data
connection for '/bin/ls'.
Dec 16 00:09:19 nto ftpd[294934-1]: <--- 226 Transfer complete.
Dec 16 00:09:24 nto ftpd[294934-1]: <--- 221 You could at least say goodbye.
Dec 16 00:09:39 nto login: ROOT LOGIN (root) ON ttyp0 FROM kwp-wks-01
__________________________________________________________________________________________
When I log in as anonymous ftp user, I can't change the directorys pub, etc
,bin. I have no clou what I have to do.
Thank you for your help.
Joerg Klein