Fix wrong dir in chmod, switch user