I have a form handler script that creates a new folder for the files sent in
the form. Move_uploaded_f ile transfers then puts those files there.
But problem is that apache becomes automaticly owner of folder and files, so
later I cannot delete/rename/transfer those files trough winscp. Only load
them if permissions are set ok.
Chown doesn't work, because only superuser can change file's owner. What can
I do? Make 24 h agreement with superuser? Become superuser? Now i fell more
like superloser. I create files but i cannot delete them.
--
Perttu Pulkkinen
the form. Move_uploaded_f ile transfers then puts those files there.
But problem is that apache becomes automaticly owner of folder and files, so
later I cannot delete/rename/transfer those files trough winscp. Only load
them if permissions are set ok.
Chown doesn't work, because only superuser can change file's owner. What can
I do? Make 24 h agreement with superuser? Become superuser? Now i fell more
like superloser. I create files but i cannot delete them.
--
Perttu Pulkkinen
Comment