Earth materials

Which statement correctly distinguishes porosity from permeability in a sandstone?