Centos how to set default permissions for specific folder

view full story

http://serverfault.com – I have a centos server that one of my apps creates files in a tmp folder. The files are always created with the permissions r--r--r-- and i need all the new files in this directory to be created with at the least, the permissions rw-rw-rw-. How can i achieve this? EDIT Here's my current setup. I've chmod 777 everything in the /page folder. Then when i run something in my app, it creates or modifies files and they are not rw-r--r--. /page ls -ald drwxrwsrwx 2 tomstest psacln 12288 Aug 2 20:32 . /page ls -al -rw-r--r-- 1 tomstest psacln 2 Aug 2 20:32 size -rwxrwxrwx 1 tomstest ps (HowTos)