Re: Unable to PUT file in anonymous FTP server

"Mike Shelby" <[email protected]> Tue, 18 Oct 2005 07:56:06 -0400
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <[email protected]>
You have nodirs in your ftpaccess file:

>upload   
>/export/ftp    /export/ftp/incoming/*   yes root daemon 0400
>nodirs
>
 Remove this and you should be fine.

-Mike

[email protected] wrote:

>Hi 
>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=*
>message /welcome.msg           
>login
>message .message                cwd=*
>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
>nodirs
>
>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
>
>
>  
>
> <http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/sentmail@Bottom>


-- 
-=*=-=*=-=*=-=*=-=*=-

*Mike Shelby*
NOAA Ocean Explorer <http://oceanexplorer.noaa.gov/> Program Manager
NOAA's National Ocean Service
1305 East-West Highway, N/MB7
SSMC4, Suite 9623
Silver Spring, MD 20910
(301) 713-3000 x203

Special Projects Division
http://oceanservice.noaa.gov/