s3gw
s3gw copied to clipboard
[BUG] rgw/sfs: s3gw.db is created world readable
The sqlite database is created with mode 644, so is world readable. It should probably be created with mode 640, to avoid random unprivileged users being able to read it.
Same goes for all the data files - they're world readable too.
I have the feeling this is not necessarily a big problem when deploying in a container, so not a particular priority for LH 1.6 / v0.23.0. But we should still address it asap.