[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Owner of logfiles



On Wed, Jan 15, 2003 at 07:37:23AM -0600, Mike's List wrote:
> chown username logfilename --to change ownership of a file via command
> line...do "man chown" for more info.

I guess the solution is in there. But, what concerns me is that in the
webalizer script, there's a different chown command for sites with and
without frontpage support: 

if (!-d $webpath . "/_vti_bin") { 
$messages .= cho "Frontpage NOT ENABLED on $webpath"; 
$messages .= hown -R httpd:$name $thepath; 
} else { 
$messages .= cho "Frontpage ENABLED on $webpath"; 
$messages .= hown -R nobody:$name $thepath; 
} 

That's why I'm confused.
-- 
Maurice de Laat