Need help with ProFTP and DefaultRoot setting!
I am running RedHat 4.0 and ProFTP 1.3.0.
I have the following lines in the proftpd.conf file:
DefaultRoot /ftp/ftp.scorelab.com/RetailWeb/WSJTopTen wsj
DefaultRoot /ftp/ftp.scorelab.com
and "wsj" is defined in /etc/group and the user, wsj, is a member.
The problem is that when user wsj connects, "ls" does not show any files.
However, if the first line is commented out, then the user is able to list all the files, including all the subdirectories.
Any ideas what is going on?
I have listed the proftpd.conf file below.
Thanks in advance.
--------------------------------------
ServerName "SCORELAB FTP Server"
ServerType standalone
DefaultServer on
Port 21
SyslogFacility FTP
SyslogLevel info
PidFile /var/run/proftpd.pid
Umask 002
MaxInstances 30
User proftpd
Group proftpd
DefaultRoot /ftp/ftp.scorelab.com/RetailWeb/WSJTopTen wsj
DefaultRoot /ftp/ftp.scorelab.com
AllowOverwrite on
CaseEngine on
CaseIgnore CWD,DELE,MDTM,RETR,RMD,RNFR,SIZE,XCWD,XRMD
CaseLog /var/log/caselog
RewriteEngine on
RewriteMap downcase-user int:tolower
RewriteCondition %m ^USER$
RewriteRule ^(.*) ${downcase-user:$1}
UseReverseDNS off
IdentLookups off
DirFakeUser on owner
DirFakeGroup on group
TimesGMT off
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Directory />
HideFiles .* group !score-rw
</Directory>
|