avoiding concatenation in chmod command for performance improvement