I have a directory where many users have write access and often the permissions on the directory changes. Is there a tool that lets me monitor the files for changes and enforce a specific file permission or any other way I can enforce this when users have write permission.
I think that if set the permissions for the group, instead of the user, it should work.
Have a look in the chmod man page
You can also set the group of the directory by using chgrp.
You can look in the Wiki for this command
Hope this helps