Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-07-2010, 04:45 PM   #1
LQ Newbie
Registered: Dec 2009
Posts: 7

Rep: Reputation: 0
ProFTPd 550 error

So, I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf

They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.

When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it?

/var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
Old 01-07-2010, 06:34 PM   #2
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17

Hi windom,

This is the upload line that worked for me:

upload class=anonusers /export/ftp /pub yes ftp other 0440 nodirs

Note: dependant on where ftp home directory is placed (this is using solaris)

I hope this is useful.
Old 01-08-2010, 04:40 PM   #3
LQ Newbie
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I'm sorry for dumb question but how exactly this line is used? Shall I put it to proftpd.conf?
Old 01-09-2010, 12:59 PM   #4
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17

Hi windom,

Here is an example of the ftpacess file:

# ident "@(#)ftpaccess 1.2 03/05/14 SMI"
# FTP server configuration file, see ftpaccess(4).

class realusers real *
class guestusers guest *
class anonusers anonymous *

loginfails 3
passwd-check trivial warn
private no
shutdown /etc/ftpd/shutdown.msg
# email user@hostname
# guestuser username
# rhostlookup no

keepalive yes
recvbuf 65536 real,guest,anonymous
sendbuf 65536 real,guest,anonymous
# flush-wait no anonymous
# passive ports 32768 65535
# timeout data 600
# timeout idle 300

banner /etc/ftpd/banner.msg
greeting brief
message /etc/ftpd/welcome.msg login
message .message cwd=*
readme README* login
readme README* cwd=*
# quota-info *

chmod no anonymous
delete no anonymous
overwrite no anonymous
rename no anonymous
umask no anonymous

compress yes realusers guestusers anonusers
tar yes realusers guestusers anonusers

path-filter guest,anonymous /etc/ftpd/filename.msg ^[[:alnum:]._-]*$ ^[.-]

noretrieve relative class=anonusers /
allow-retrieve relative class=anonusers /pub

upload class=anonusers * * no nodirs
# upload class=anonusers * /incoming yes ftpadm ftpadm 0440 nodirs

# log commands real,guest,anonymous
# log security real,guest,anonymous
# log transfers real,guest,anonymous inbound,outbound
# xferlog format %T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc %Xs %Xr

# limit-time anonymous 30
# limit anonusers 10 Wk0730-1800 /etc/ftpd/toomany.msg
# limit anonusers 50 SaSu|Any1800-0730 /etc/ftpd/toomany.msg

<snip end>

The highlighted line was enabled by removing the hash from in front upload, in bold print.(using ftp in Solaris)

However the link below is more than helpful using proftp.

I hope this is of help.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd Virtual Users Error 550 No such file or directory : serenissimus Linux - Server 0 11-23-2008 03:59 AM
ProFTPd - Change proftpd.conf location ('not found' error) varney Linux - Newbie 1 02-22-2008 01:51 AM
proftpd 550 gabsik Linux - Networking 1 05-05-2006 11:18 PM
weired ProFtpd error: 550 Overwrite permission denied !! apache Linux - Software 1 07-23-2004 06:21 AM
Vsftpd help- 550 error hda Linux - Networking 1 10-15-2003 01:26 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration