Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RalieghFhang> Hello there. I'm having some issues with www-data. Now this question could go to here, Ubuntu, OR PHP but I'm going to try here first.
- <Unbeliever> RalieghFhang: what does the error log say, exactly?
- <RalieghFhang> Hold on I'm getting to it.
- <RalieghFhang> I'm attempting to use PHP to run a script in /home. The script runs fine, is coded properly, etc. However in apache error logs I am given permission errors. The script simply runs a mkdir command.
- <RalieghFhang> When trying to create the directory it gives me permission denied. Now I know I can CHOWN 755 everything there... But that seems like a huge security hole since it's my /home folder.
- <skcin7> Thank you Unbeliever ^_^
- * Disson (disson@virtual.disson.fi) Quit (Read error: Operation timed out)
- * Disson (disson@virtual.disson.fi) has joined #httpd
- <RalieghFhang> I'm wondering if there's a way to get www-data (PHP/Apache user) to either sudo or run a script by changing the user.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement