I'm running a CentOS 5.0 server with root access. The /var/www
folder was originally set recursively with root as the owner and group. So I did a chgrp -R webdevs /var/www
and a chmod -R g+rwx /var/www
command to give all members of the webdevs group read/write access. These changes work as required for all preexisting files. However, when user examplewebdev creates a new file in the /var/www
directory, the group defaults to examplewebdev instead of webdevs. How do I change the defaults for new file creation?