#1  
Old 1st December 2010, 17:20
iross iross is offline
Junior Member
 
Join Date: Nov 2010
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Question Quota and User

Hi all,

I have a little problem with ISPConfig 3 and quota on Ubuntu 10.10 Server x64.

Quota doesn't report correct size of a client folder.

I read on another post that quota is calculated per user.
http://www.howtoforge.com/forums/sho...ighlight=quota


I think i can resolve my problem by do this command:

chown -R webX /var/www/clients/clientsX/webX/web

But i don't know if this command is safe or if it's clean to make this on a production server.
Anyone have this problem and how resolv it cleanly.

Thanks for your help.

Sorry for my poor English...

Iross
Reply With Quote
Sponsored Links
  #2  
Old 1st December 2010, 17:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
Default

This command is safe. All files in the web folder has to be owned by the web user and the client group of this website. You should then check your php settings, most likely you run php in a wrong mode, so that the files are not owned by the web user. As php mode, use php-fcgi and enable suexec in the website settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st December 2010, 17:57
iross iross is offline
Junior Member
 
Join Date: Nov 2010
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
 
Smile Thanks!

Thanks for your answer.

I have run this command and quota is now correctly reported.

I have also found the reason of different owner for this site, it's because i have transfered file via Winscp as root, so all file is own by root.

I have also chown the stats folder with root:root to have the same configuration for all site.

To summarize, i have correct my problem with:

1)run chown -R webX:clientY /var/www/clients/clientY/webX/web
2)run chown -R root:root /var/www/clients/clientY/webX/web/stats

Thank you for your quick answer!

Iross
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
HOWTO: Dovecot 1.2.9 + sieve + quota radim_h Tips/Tricks/Mods 10 22nd December 2010 08:35
Mail users without individual quota (using just user quota) ? radim_h Tips/Tricks/Mods 5 1st November 2010 10:01
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 02:59
chgrp error new user DKA General 15 28th July 2008 17:45
/tmp filled with clamav files --> user over quota ArnOS Installation/Configuration 28 15th March 2008 09:19


All times are GMT +2. The time now is 06:23.


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