i'm not a prepper in our sense of the word but i do keep extra food around when i see good buys.when i built up a large supply of sugar in the smaller bags and was concerned about keeping it fresh and away from bugs i put it in a five gallon bucket,bags and all.
with the top of the bucket sealed and the sugar in the bags it was packed in i felt like i was not exposing it to the air and damp in the process of storing it.
when pasta was on sale at what i thought was really cheap i got $20 worth and sealed it up the same way.there may be air space in the buckets between the bags and box's but for me it's not a issue.