ensure storage permissions