Fix command permissions