files created by script always 'nobody' as owner?

jacksony

Well-Known Member
PartnerNOC
Nov 30, 2005
77
1
158
Help! all my files/folders created from my PHP scripts are always assigned to 'nobody' instead of the user of the account it is installed into, as a result the scripts installed this way can't be run properly.

Can anyone please enlighten me? Thank you very much! urgent help if you could email me at [email protected]

Thank you!
 

webignition

Well-Known Member
Jan 22, 2005
1,876
0
166
That will be because PHP is running as the user 'nobody'.

Enabling phpsuexec will cause PHP to run as the appropriate user and from then onwards all files created by PHP scripts will have the ownership that you would expect.

Try searching the forums for 'phpsuexec' to find out more about it and how to enable it.