Fix rights on path creation

Fixed the rights on path creation to 0755.