Massachusetts law permits cottage food businesses but requires a permit and a home inspection, both of which cost money.