Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th July 2009, 02:44
Code5 Code5 is offline
Member
 
Join Date: Jun 2008
Posts: 45
Thanks: 0
Thanked 1 Time in 1 Post
Question Stats directory permission is denied on write?

:::: Regarding ISPConfig 3.0.1.3 ::::

Hi all, im trying to upload some files into one of my domains /stats folder but i keep getting the error "permission denied" on write.

Ive tried to login and create the files manually within the stats directory under the main root user of the system. I tried using vi-editor and then went to save the script and, the same, could not write to folder please change permissions.

Now ive looked at the permissions of the folder and from Cuteftp all other folders have the owner name "5004" which is wierd, and the stats folder has the owner of 0, no other folder has the "0" ownership.

Now within ispconfig ver.2, the owner name from within Cuteftp brings back the right name which is the user of the domain, not a number.

My question is, how do i modify the stats folder so that files can be uploaded or even created within that directory?

Hope you can understand what i mean here, and thanks for any help as im finding this very tedious.

Last edited by Code5; 26th July 2009 at 03:01.
Reply With Quote
Sponsored Links
  #2  
Old 27th July 2009, 12:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

The stats directory in ispconfig 3 shall not be accessble for uploads by the user, thats why it is owned by the root user. If you want to change that, you will have to change the code of the apache plugin and / or the code in the cron-daily.php script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th July 2009, 18:05
Code5 Code5 is offline
Member
 
Join Date: Jun 2008
Posts: 45
Thanks: 0
Thanked 1 Time in 1 Post
Question Thanks.

I am a bit of a novice when it comes to Linux based systems, is there any chance you can provide me with some form of informational guide on how to do this?


Many thanks.


OS = Ubuntu 9.04 Server & ISPConfig 3.0.1.3
Reply With Quote
  #4  
Old 28th July 2009, 18:22
Code5 Code5 is offline
Member
 
Join Date: Jun 2008
Posts: 45
Thanks: 0
Thanked 1 Time in 1 Post
Question

Please could you tell me where i can find either the Apache plugin, or cron-daily.php files?

Thanks.

------------------

Found the file cron_daily.php in location

/usr/local/ispconfig/server

Which part of this file do i need to modify, and if im adding code what code should i add?

Many thanks.

Last edited by Code5; 28th July 2009 at 18:30. Reason: Found location.
Reply With Quote
  #5  
Old 30th July 2009, 11:48
NdK NdK is offline
Member
 
Join Date: Jul 2009
Location: Bologna, ITA
Posts: 41
Thanks: 1
Thanked 3 Times in 1 Post
Default Regarding stats...

Is it possibl to disable statistics generation from panel just for some sites?

Since it seems I can't access stats/ dir when Drupal is installed, it's quite useless to generate them.
Reply With Quote
  #6  
Old 3rd August 2009, 09:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
Is it possibl to disable statistics generation from panel just for some sites?
no.

Quote:
Since it seems I can't access stats/ dir when Drupal is installed, it's quite useless to generate them.
I guess thats a problem with a .htaccess file from drupal. You can try to change the .htaccess file so that it excludes the stats directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 10:37
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


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


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