LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Log rotation/gzip creates files as root, how to fix?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2006, 05:43 PM
inspirix inspirix is offline
Member
 
Join Date: Sep 2006
Posts: 25
Question Log rotation/gzip creates files as root, how to fix?

I have ftp access set up to the log directory so clients can pull their access logs. Using the nice log rotation and gzip seems to be the perfect fit, but its creating the gzip's as root. This results in the files being Permission denied when attempting to download them. Is that any way I can make it so the rotated and gzipped logs are created with the same permissions as access.log?

-rw-r--r-- 1 nobody nobody 4091614 Nov 8 20:38 access.log
-rw------- 1 root nobody 487290 Nov 8 11:39 access.log.2006_11_08.gz


Would like it to be:

-rw-r--r-- 1 nobody nobody 4091614 Nov 8 20:38 access.log
-rw-r--r-- 1 nobody nobody 487290 Nov 8 11:39 access.log.2006_11_08.gz
Reply With Quote
  #2  
Old 11-08-2006, 07:36 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
this feature request is just in time for 2.2.5 release.
Reply With Quote
  #3  
Old 11-08-2006, 07:42 PM
inspirix inspirix is offline
Member
 
Join Date: Sep 2006
Posts: 25
Awesome!

Thanks so much,

Joe
Reply With Quote
  #4  
Old 11-09-2006, 12:33 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Joe. 2.2.5 has been released.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 03:29 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.