The scripts created in /var/run have logic to ensure long running cron jobs do cause duplicate runs. Specific example:
Code: Select all
if [ -r /var/run/rsync_client_running_7e5ccef4-427f-4fda-8b70-284df8e05dc0 ]; then
/usr/bin/logger -p local4.notice "Previous client synchronization still running... exiting"
exit
fi
/usr/bin/touch /var/run/rsync_client_running_7e5ccef4-427f-4fda-8b70-284df8e05dc0
If the rsync client is running as an ordinary user however that user does not appear to have permission to create files in that directory. Can anyone reproduce this to verify? I believe this would be the case for any rsync configuration running as an ordinary user.
My temporary workaround is to put the ordinary user in the wheel group and modify /var/run to 775 permissions however I don't think this will survive a reboot.

