Hi,
I can't seem to get this right.
When a script needs write access to a folder, for example for sessions or error logs, in apache I simply chown-ed them apache:apache and left them chmod 755.
Now with Litespeed, I can't figure out who executes the script.
In the server-wide settings I have:
Running As user(nobody) : group(nobody)
In the VH:
ExtApp Set UID Mode DocRoot UID
The owner of the docroot of that VH happens to be lsadm:lsadm
So I figured by either making the folder I intend to have PHP write in owned by nobody:nobody or lsadm:lsadm I'd be able to write in it when it's chmod 755. But somehow, I need to up that to 777 for it to work. And I don't like 777.
How can I figure out who runs the PHP process and should therefore be the owner of a folder in order to write to it?
What are the recommended ownership settings for LSWS?
I can't seem to get this right.
When a script needs write access to a folder, for example for sessions or error logs, in apache I simply chown-ed them apache:apache and left them chmod 755.
Now with Litespeed, I can't figure out who executes the script.
In the server-wide settings I have:
Running As user(nobody) : group(nobody)
In the VH:
ExtApp Set UID Mode DocRoot UID
The owner of the docroot of that VH happens to be lsadm:lsadm
So I figured by either making the folder I intend to have PHP write in owned by nobody:nobody or lsadm:lsadm I'd be able to write in it when it's chmod 755. But somehow, I need to up that to 777 for it to work. And I don't like 777.
How can I figure out who runs the PHP process and should therefore be the owner of a folder in order to write to it?
What are the recommended ownership settings for LSWS?