Palmitoylation of apolipoprotein B is required for proper intracellular sorting and transport of cholesteroyl esters and triglycerides.