fixes #5758 - removed errors due to updated permissions
Merge pull request #4106 from thomasmckay/5758-subs

fixes #5758 - removed errors due to updated permissions