Does anyone know how I can run as apache user?

[original thread by GL007]

Have you seen:

[GL007]

Thanks @anton-kosyakov

[GL007]

I want to run as apache so when I create a new file it is ass apache:apache not root:root