I have an Amazon EC2 server with multiple user accounts. Each user installs a PHP-based CMS system which during the install process downloads a few packages from a remote repository. The problem is that downloaded packages are not writable for the user (ei. cannot be deleted).
Question is, how can I set the default file permission for files created by PHP to 666?
Many thanks!