file ownership

seven

New member
Joined
Jan 9, 2011
Messages
1
i found that the files my snippet ( check.php ) creates in a folder with fopen() function, all goes in the ownership of apache and not the username uid.
and when i set a cron job on this file, it cannot reach it works and edit the created files, while it can be done if it's called from the browser.
also i've access as an admin, but not good in managing.
would u help me to have an automatically change in file ownership ?
 
Note that you can only follow this link if you own the server. If you're a user of a hosting account provided to you by a company running DirectAdmin you'll need to contact your hosting provider with your problem.

Jeff
 
Sure, if you're a customer (not a server owner), you won't be able to change ownership with cron any way.
 
Back
Top