Replaced chmod with chown for user folder ownership fix.