With the zimbra version thing I put in the wiki bash script, the script is usually run as root thus the rsync commands run as root too. When I was setting up my script I was getting permission denied errors for the creation of the zimbra_version.txt so I chmod 777 the zimbra backup folder and it worked.
Just make sure that where the txt file is going, the zimbra user has write access. But yeah, more sensible where it is now after the second rsync.
