Unable to PUT file in anonymous FTP server

[email protected] Tue, 18 Oct 2005 16:53:32 +0500 (IST)
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <[email protected]>
This message is in MIME format.

---MOQ1129634612f03894b7ee6b4cc31c8b9a6d327be007
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi=20
I had setup Anonymous FTP server with wu-ftpd 2.6.2.
The requirement is to PUT/upload file with anonymous ftp user.When I try =
PUT file it gives error as follows

553 Filename: Permission denied on server. (Upload).
ftp> mkdir temp
550 temp: Permission denied on server. (Upload dirs)


I tried all the options specified in FAQ ,and no luck.Please guide where =
Im wrong
The configuration are pasted below .
--
cat /etc/passwd
ftp:x:30000:30000:Anonymous FTP:/export/ftp/./incoming:/bin/false
---

cat /etc/ftpaccess | grep -v "^$"
class   all   real,guest,anonymous  *
limit   all   10   Any              /etc/msgs/msg.dead
banner /etc/issue
readme  README*    login
readme  README*    cwd=3D*
message /welcome.msg            login
message .message                cwd=3D*
compress        yes             all
tar             yes             all
overwrite       no             guest
umask           no              guest
chmod           no              guest
noretrieve /etc/passwd /etc/group

upload    /export/ftp    /export/ftp/incoming/*   yes root daemon 0400 no=
dirs

log commands real
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg
email user@hostname
--------
Permission under /export/ftp

[LISTEN1-root]/export/ftp>pwd
/export/ftp
[LISTEN1-root]/export/ftp>ls -l
total 12
dr-xr-xr-x   2 root     other        512 Oct 14 11:39 bin
dr-xr-xr-x   2 root     other        512 Oct 17 11:35 dev
dr-xr-xr-x   2 root     other        512 Oct 14 12:21 etc
drwx-wx-wt   2 root     nobody       512 Oct 17 15:47 incoming
drwxr-xr-t   3 root     other        512 Oct 17 15:48 pub
dr-xr-xr-x   3 root     other        512 Oct 14 11:39 usr

----------
/export/ftp>cat /etc/inetd.conf

ftp     stream  tcp     nowait  root    /usr/local/sbin/in.ftpd ftpd -a -=
L -i -d -W

I tried default director as /export/ftp/pub also.

Cheers
../Azad



---MOQ1129634612f03894b7ee6b4cc31c8b9a6d327be007
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<pre>Hi=20
I had setup Anonymous FTP server with wu-ftpd 2.6.2.
The<br>requirement is to PUT/upload file with anonymous ftp user.When I t=
ry PUT<br>file it gives error as follows

553 Filename: Permission denied on<br>server. (Upload).
ftp> mkdir temp
550 temp: Permission denied on<br>server. (Upload dirs)


I tried all the options specified in FAQ ,and<br>no luck.Please guide whe=
re Im wrong
The configuration are pasted below<br>.
--
cat /etc/passwd
ftp:x:30000:30000:Anonymous<br>FTP:/export/ftp/./incoming:/bin/false
---

cat /etc/ftpaccess | grep<br>-v "^$"
class   all   real,guest,anonymous  *
limit   all   10   Any  <br>           /etc/msgs/msg.dead
banner /etc/issue
readme  README*   <br>login
readme  README*    cwd=3D*
message /welcome.msg           <br>login
message .message                cwd=3D*
compress        yes       <br>     all
tar             yes             all
overwrite       no       <br>     guest
umask           no              guest
chmod           no   <br>          guest
noretrieve /etc/passwd /etc/group

upload   <br>/export/ftp    /export/ftp/incoming/*   yes root daemon 0400=
<br>nodirs

log commands real
log transfers anonymous,real<br>inbound,outbound
shutdown /etc/shutmsg
email<br>user@hostname
--------
Permission under<br>/export/ftp

[LISTEN1-root]/export/ftp>pwd
/export/ftp
[LISTEN1-root<br>]/export/ftp>ls -l
total 12
dr-xr-xr-x   2 root     other        512<br>Oct 14 11:39 bin
dr-xr-xr-x   2 root     other        512 Oct 17 11:35<br>dev
dr-xr-xr-x   2 root     other        512 Oct 14 12:21<br>etc
drwx-wx-wt   2 root     nobody       512 Oct 17 15:47<br>incoming
drwxr-xr-t   3 root     other        512 Oct 17 15:48<br>pub
dr-xr-xr-x   3 root     other        512 Oct 14 11:39<br>usr

----------
/export/ftp>cat /etc/inetd.conf

ftp     stream <br>tcp     nowait  root    /usr/local/sbin/in.ftpd ftpd -=
a -L -i -d -W

I<br>tried default director as /export/ftp/pub<br>also.

Cheers
../Azad


</pre>

<A HREF=3D"http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/s=
entmail@Bottom" target=3D_new>
<IMG SRC=3D"http://ads.sify.com/RealMedia/ads/adstream_nx.ads/mail.sify.c=
om/sentmail@Bottom"  width=3D300 height=3D40 border=3D0></a>

---MOQ1129634612f03894b7ee6b4cc31c8b9a6d327be007--