setting umask for apache user only....how?..plz help
I have to handle one online server in my office where few sites of my own company are hosted and few of some clients.
When any images are uploaded through browser by clients,the images will be saved in the server with owner apache:apache having 777(rwxrwxrwx) permission, which is not desire. On analysis , i found that root user has got 022 and normal user has got 002 which is desired case. I have gone throug google searce but can't get the exact solution. Is there any place where I can set umask for apache only so that I can control the default permission ........Plz help.