LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2007, 06:56 AM   #1
iguthrie
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Rep: Reputation: 0
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>
 
  


Reply



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
Problems setting up ProFTP tjulius Linux - Newbie 6 04-22-2005 11:15 AM
proftpd - help with DefaultRoot bardinjw Linux - Software 2 04-07-2005 09:24 AM
proftp ScottCamp Linux - Newbie 3 11-02-2004 07:58 AM
ProFtp bnumark Linux - Software 5 06-28-2003 03:36 PM
proftp spate Linux - Software 2 01-09-2003 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:21 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
Open Source Consulting | Domain Registration