Write a daemon running as root that watches a db for files that need to be chowned and periodically runs the chown.

Have your web app update the db which the daemon than watches.

Make sure it can only chown files in certain directories.

Fancy step 2 will be a wakeup message your web app sends to the daemon to run and report status.

Regards,

KAM

*chown executed by the apache user*

I need to change the uid, 'chown' for a file via the apache-perl
process.


Reply via email to