LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-04-2004, 07:25 AM   #1
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
"proftpftd.conf" limiting read access in uploads directory for non ftpadmin


i have installed proftpd by rebuilding the src.rpm file. im running on redhat 9.
i want to allow anonymous uploads, and only ftp admin can see those files via ftp.

ftpadmin cannot see the uploaded files.

here is the anonymous section of my proftpd.conf.

<Anonymous ~ftp>
User ftp
Group ftp
AccessGrantMsg "Anonymous login ok, restrictions apply."

UserAlias anonymous ftp

MaxClients 5 "Sorry, max %m users -- try again later"

DefaultChdir /pub

<Limit WRITE SITE_CHMOD>
DenyAll
</Limit>

<Directory uploads/*>
AllowOverwrite no
Code:
    <Limit READ>
        Deny !ftpadmin
    </Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>

ExtendedLog /var/log/proftpd/access.log WRITE,READ default
ExtendedLog /var/log/proftpd/auth.log AUTH auth
</Anonymous>


thanx for any help!
 
  


Reply


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
Can't access https after including "SSLVerifyClient require 1" in httpd.conf javiergt Linux - Security 6 01-16-2014 02:22 PM
Another "special directory access" question funaroma Linux - Newbie 1 12-04-2004 08:31 PM
"No write access to $HOME directory" Arthaus Linux - Newbie 2 01-12-2004 07:22 PM
"mkdir: cannot create directory `foo': Read-only file system" on FAT32 maddes Linux - Hardware 1 11-26-2003 06:19 PM
Can't access mounted NFS directory: "permission denied" SparceMatrix Linux - General 6 03-08-2003 01:36 PM


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

Main Menu
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