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

Re: [cobalt-users] raq4 webalizer



> I have a RAQ4, installed the webalizer package, and yet again, my users
are
> getting "Cannot change permissions on
> file"/home/sites/site5/web/stats/usage_200012.html"
>
> How do i change the /etc/cron.daily/webalizer.pl owner to nobody? I have
> enclosed my pl file
>
> Do I change : chown 0, $gid, $thepath
> to this: chown nobody, $gid, $thepath
>
This:

# Now change ownership of stats files for siteadmin
    $messages .= `chown -R httpd:$name $thepath`;

Should be this:

# Now change ownership of stats files for siteadmin
    $messages .= `chown -R nobody:$name $thepath`;

Suzanne Hediger
Heller Information Services
301-255-0500
1-888-818-0500
http://suzanne.his.com