fix permission issues with storage directory