Editing the crontab
By jeltsch on Thu, 05/24/2007 - 21:29We have a shared directory (/home/shared) on our computer and a usergroup called "shared". The purpose is that we put things there that should be accessible (including writable) to several users of the system. If one user puts a file there, it can be read by others but not e.g. deleted. In order to fix this, we edited the crontab to execute every 5 minutes the following two commands:
chgrp -R shared /home/shared
chmod -R 744 /home/shared
In order to do this we edited (as root of course) the /etc/crontab file by adding the line: