Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th February 2007, 05:20
GaulHahn GaulHahn is offline
Junior Member
 
Join Date: Dec 2006
Location: Mornington Peninsula, Australia
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default Virtual Hosting With PureFTPd And MySQL quota problem

Hi,

I followed the howto for Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) and installed it on Ubuntu 6.06.1 but i'm having problems getting the disk space quota working.

When a user uploads files or deletes them the quota limit shows no space is being used but there is definately space being used within the directory.

The messages displayed from the ftp client are like this:

226-0 Kbytes used (0%) - authorized: 51200 Kb

The quota is not enforced either so a user can go over the 50 MB limit.

I've searched for the answer but haven't had any luck.
Reply With Quote
Sponsored Links
  #2  
Old 26th February 2007, 14:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I wrote the tutorial for Debian Sarge. I don't know if Ubuntu's pureftpd-mysql package supports quota...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st March 2007, 10:22
GaulHahn GaulHahn is offline
Junior Member
 
Join Date: Dec 2006
Location: Mornington Peninsula, Australia
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Thumbs up

I worked it out.

I needed to create a .ftpquota file in the domain directory as per the database and chown it to the user that pureftpd runs as (www-data in in my case).

Then you just run:

Code:
root@linuxbox:~# pure-quotacheck -u 33 -g 33 -d /home/www/domainname.com
To update the existing directories.

Reply With Quote
  #4  
Old 29th July 2008, 14:32
orvils orvils is offline
Junior Member
 
Join Date: Aug 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

How to guard in this case against user deleting .ftpquota file and gaining unlimited disk space?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PureFTPd and MySQL: error exit status 252 marsvin Server Operation 20 13th May 2009 12:03
Pureftpd Permissions Problem GaulHahn Server Operation 6 17th October 2008 13:54
authentication problem - Virtual Hosting With PureFTPd And MySQL Sarnix HOWTO-Related Questions 2 1st February 2007 21:12
Virtual Hosting With PureFTPd And MySQL troubles Mave HOWTO-Related Questions 2 25th November 2006 03:08
PureFTPD and Mysql Questions chrchcol Server Operation 1 3rd September 2006 23:07


All times are GMT +2. The time now is 01:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.