[smokeping-users] Re: Write permission denied
Scott Schappell
archon at silvertree.org
Fri Jul 15 06:59:50 MEST 2005
Sawan Gupta wrote:
> Thanks a lot guys for your nice support. Howveer now I ran into another issue
>
>
> Opening '/var/www/cgi-bin/.simg/World/Asia/MyMachine/SBB_last_10800.png'
> for write: Permission denied
> Opening '/var/www/cgi-bin/.simg/World/Asia/MyMachine/SBB_last_108000.png'
> for write: Permission denied
> Opening '/var/www/cgi-bin/.simg/World/Asia/MyMachine/SBB_last_864000.png'
> for write: Permission denied
> Opening '/var/www/cgi-bin/.simg/World/Asia/MyMachine/SBB_last_34560000.png'
> for write: Permission denied
>
> I tried the follwing command
>
> touch SBB_last_10800.png
> chmod 666 SBB_last_10800.png
>
> But it didn't helped.
>
>
> Warm Regards,
>
> Sawan Gupta
>
> --
make sure .simg/ is writeable by the web server user (usually www or apache):
chown -R apache /var/www/cgi-bin/.simg/*
chmod -R 755 /var/www/cgi-bin/.simg/*
You may need to substitute apache with the ID your web server is running
under. If you get an error of no such user, try chown -R www. Or, ps -auwx |
grep httpd to see what user is running apache and use that ID.
Cheers,
Scott
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the smokeping-users
mailing list