My working group uses a shared directory on a linux server which is made group-writable (and group-executable). Users access this directory both via NFS from Linux boxes and via SMB from windows boxes.
Occasionally, users create a new subdirectory (which is ok) inside this shared folder but this subdirectory is often not group-writable. Is there a way how I (as the superuser) can enforce that all subdirectories created - no matter how - always get the group-writable flag?
What I do at the moment is an occasional recursive chmod g+w, but it would be much better if subdirectories were created with the correct permissions in the first place