LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Proftpd Virtual Users Error 550 No such file or directory : (http://www.linuxquestions.org/questions/linux-server-73/proftpd-virtual-users-error-550-no-such-file-or-directory-685499/)

serenissimus 11-23-2008 03:59 AM

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


All times are GMT -5. The time now is 05:03 AM.