The small GTPase Rab and β-hydroxybutyrylation at its lysine 32 regulate vacuolar structure and functional homeostasis, thereby influencing aflatoxin biosynthesis.