LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-23-2008, 04:59 AM   #1
serenissimus
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
Proftpd Virtual Users Error 550 No such file or directory :


Hello,

I am running Hardy 8.04 and have installed proftpd with two virtual users. The server is running. I can login as both virtual users and obtain proper directory listings.

However when I try to download files from their root directories I receive an error

550 [Filename]: No such file or directory : /[Filename]

where Filename is the filename of the file to be downloaded.

access rigths to the files are: -rw-r--r--

below is my proftpd.conf as generated by gproftpd (with some manual editing).

Code:
ServerType standalone
DefaultServer on
Umask 022
ServerName "192.168.0.100"
ServerIdent on asdf
ServerAdmin asdf
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 42000 42020
#MasqueradeAddress None
TimesGMT on
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
User nobody
Group nobody
DefaultRoot ~
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 100
TransferRate STOR 100
TransferRate STOU 100
TransferRate APPE 100
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /var/ftp
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
  AllowUser data
  AllowUser video
  DenyALL
</Limit>

<Anonymous /media/disk/Data>
User data
Group anonymous
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  APPE  RETR  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  MTDM  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit RETR  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
<Limit SITE  SITE_CHMOD  SITE_CHGRP >
 DenyAll
</Limit>
</Anonymous>

<Anonymous /media/disk/Video>
User video
Group anonymous
AnonRequirePassword off
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST  STOR STOU  APPE  RNFR RNTO  DELE  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit RETR  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>
does anyone have an idea why the error occurs ?

thanks a lot
 
  


Reply

Tags
ftp, proftpd, server, ubuntu


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
Errno ftp error] 550 Failed to change directory Baslingappa.Bhujang LQ Suggestions & Feedback 2 07-30-2008 10:12 AM
proftpd with virtual users and sticky bit cristi32 Linux - Server 1 12-06-2007 07:11 PM
ProFtpd and adding virtual users gbj Linux - Networking 0 03-17-2005 02:37 AM
Virtual users with proftpd? Other ftpds? NonSumPisces Linux - Software 1 08-26-2004 09:00 PM
weired ProFtpd error: 550 Overwrite permission denied !! apache Linux - Software 1 07-23-2004 07:21 AM


All times are GMT -5. The time now is 01:43 AM.

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