Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
I don't know about cpanel, but this is the procedure when using a raw apache install on a managed server:
Nobody is the Unix shell account under which the apache process is running.
You have several options:
1) modify the apache configuration to force it to run under another account. Not recommended, because it gives more rights on the computer to the service, which ease the task to hacker if they can use a buffer overflow bug
2) change the umask used by "nobody" on the server start, and makes the files created by the apache process "group readable/writable".
The umask utility is for that. I believe "umask 002" is what you would need.
Then create a new unix group, and set your FTP user and the apache user members of that group.
Now, as the umask specify that both of you are in the same group, and the files have group permissions that gives every members of the group full access permissions, you will be able to delete them
And if you are on a shared hosting account, then you must use your "remote file manager" or something like that to either change the ownership or the files permissions.
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 01-19-2008 at 04:12 PM..
|