LinuxQuestions.org
Help answer threads with 0 replies.
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 12-27-2010, 10:24 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
proftpd - MaxStoreFileSize not working


According cu proftpd documentation this should limit upload file size to 5 MBytes to everyone excepting user crystal which is allowed to upload 100 MBytes.

Code:
 # Restrict upload to only 3 megabytes
MaxStoreFileSize 5 Mb

MaxStoreFileSize 100 Mb user crystal

My Proftpd also restricts the user crystal to 5 Mb.

It seems the second line is not taken into consideration.

What did I do wrong here?

Thank you
 
Old 12-27-2010, 10:48 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,224
Blog Entries: 1

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
Hi,

You should use something like:
Code:
 # Restrict upload to only 3 megabytes
MaxStoreFileSize 5 Mb user !crystal

MaxStoreFileSize 100 Mb user crystal
because the 1st restriction matches all users, so the 2nd is not used

Regards
 
Old 12-28-2010, 01:18 AM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
So it is like a firewall. First match counts.

Thank you
 
  


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
Installed Proftpd, not working as Service whyzex Linux - Server 5 02-10-2010 08:24 PM
proftpd RequiredValidShell off not working? kishore2k4 Linux - Server 6 12-05-2007 08:32 AM
proftpd not working correctly nass Slackware 4 04-18-2007 09:10 AM
Proftpd tutorial config not working Sagara Sanosuke Linux - Newbie 1 05-16-2005 06:48 PM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:27 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