On Fri, Jun 24, 2005 at 06:18:00AM +0400, Alexey Tourbin wrote: > $ /usr/sbin/httpd -d $PWD -f /dev/null > Ouch! ap_mm_create(1048576, "/var/run/mm.9040") failed > Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory > $ > > Как сказать апачу, чтобы он не смотрел в /var/run и вообще не выходил за > пределы текущего каталога? https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=51220 Meanwhile, here's a quick work-around: copy /usr/sbin/httpd elsewhere, then change occurrences of /var/run in it to say /tmp/run (make sure it retains the same length). Then, create /tmp/run as the user who runs httpd and you're done. Хы-хы.