CLC-3965 Fix chmod glitch from previous PR
Merge pull request #2720 from raydavis/raywip

CLC-3965 Fix chmod glitch from previous PR