I have centos 5.4.
I in joomla website , when i install new php script then it created its own folder like
Now that folder has only read and write permission for that user or apache user i don't know.
I want that all the files created under /home/ directory has group write permission by default.
I don't want specific folder or specific user but for all users folder inside /home directory
Is it ok to do , or there is any other solution for that
SUppose in my /home directory i have three user
/home/user1 /home/user2 /home/user3
Now i want that if any file is created under user1 it should have by default group rw permission with group being user1
and for /home/user2 all file which are created later should have default group rw permission with default group being user2
How can i achieve that