|
Posted by Kim Andrι Akerψ on 12/05/07 13:15
Joel Fireman wrote:
> On a Linux server, a web page lets users enter items to an order
> sheet. When they finish, (besides the mysql db updates) the order data
> is emailed to the user as confirmation, a copy is emailed to the
> fulfillment people, and two files are written for pickup by a third
> party, in the third party's directory.
>
> Because the files are owned by apache, the third party cannot delete
> them, even when they are chmod'ed to 777. I tried to chown() the files
> to the third party's user, but no go.
Check the manual page (http://no2.php.net/chown), you might know why:
> Only the superuser may change the owner of a file.
Namely, the user named "root".
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|