fix various command
fix permissions on server