fix sudo permissions