POV-Ray : Newsgroups : povray.unix : Need Help With Running POV-Ray Through PHP : Re: Need Help With Running POV-Ray Through PHP Server Time
18 May 2024 12:49:37 EDT (-0400)
  Re: Need Help With Running POV-Ray Through PHP  
From: Jess
Date: 13 Mar 2011 03:00:00
Message: <web.4d7c6aca594502e27a0819aa0@news.povray.org>
> Time to check the rights of user 48, including its groups. (and the
> compatibility with the installation of povray)
> Can you "su - to_the_name_of_user_48" ?
> (have a look/grep in /etc/passwd for 48)

Here's the output when I grep-ed for 48. User 48 appears to be in Apache.

[jlb41@wyrd ~]$ grep 48 /etc/passwd
apache:x:48:48:Apache:/usr/local/apache2:/bin/bash
smolt:x:493:488:Smolt:/usr/share/smolt:/sbin/nologin
torrent:x:492:487:BitTorrent Seed/Tracker:/var/lib/bittorrent:/sbin/nologin
pulse:x:491:486:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin
clamupdate:x:490:482:Clamav database update user:/var/lib/clamav:/sbin/nologin
clamilt:x:489:481:Clamav Milter User:/var/run/clamav-milter:/sbin/nologin
gam7:x:1486:1486:Gabriel Manzano:/home/gam7:/bin/bash
math470:x:1607:1607:Math 480 senior seminar:/home/math470:/bin/bash
webeffect:x:2148:2148::/home/webeffect:/bin/bash
skb1:x:1648:1648:Sharon Kay Beck:/home/skb1:/bin/bash

> And sanity check first: can 48 write in the current directory ?
> Can php/web create a file ?
>     system("date >new_test_file")

PHP couldn't create the date file, so I guess that means User 48/PHP doesn't
have permission to create files.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.