Google Answers Logo
View Question
 
Q: Permissions for log folder in Linux ( No Answer,   2 Comments )
Question  
Subject: Permissions for log folder in Linux
Category: Computers > Internet
Asked by: davert3-ga
List Price: $18.00
Posted: 29 Sep 2005 07:56 PDT
Expires: 01 Oct 2005 09:47 PDT
Question ID: 574198
In order to get a stats program working correctly (and automatically
archiving old stuff), I need to set a Linux folder so the sticky bits
for new files stick to 664 (or I guess 660) with group nobody... or
figure out a way to make apache save its logs with different
permissions and/or different ownership. I need the commands to do
this. Thanks...

Request for Question Clarification by denco-ga on 29 Sep 2005 13:32 PDT
Howdy davert3-ga,

Which stats program are you trying to install?  Thanks!

Looking Forward, denco-ga - Google Answers Researcher

Clarification of Question by davert3-ga on 29 Sep 2005 17:58 PDT
I have CPanel and AWStats; the problem is using AWStats to archive the
log files when it's finished its run.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Permissions for log folder in Linux
From: sandipb-ga on 01 Oct 2005 08:09 PDT
 
Does this work for you?

As root:
1. chmod 0664 <dir>
2. chgrp nobody <dir>
3. chmod g+s <dir>
Subject: Re: Permissions for log folder in Linux
From: davert3-ga on 01 Oct 2005 09:47 PDT
 
Doesn't seem to stick. However, I sort of evaded it by setting up
webalizer instead of awstats. I don't know why, but that works without
permissions issues. Either that or a prior intervention (including
chmod 1664) worked.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy