While fixing a permission error on the deployment host earlier today, I noticed the script errors out:
[urbanecm@deploy1002 ~]$ sudo /usr/local/sbin/fix-staging-perms find: paths must precede expression: `group'
This means the script is unable to change the group owner for /srv/patches. This happens because of a missing dash in the script.
In addition to this, I noticed that the group owner of /srv/patches changed to deployment (this may or may not be the case for /srv/mediawiki-staging before I ran the fixing script and changed it to wikidev). Can someone confirm the group owner for those two paths should still be wikidev?