commit b9b5fef89af51c66905de33e2436c063f4b09d36
Author: James Page <email address hidden>
Date: Sat Apr 5 09:38:12 2014 +0100
Set permissions on generated ring files
The use of NamedTemporaryFile creates rings with permissions 0600;
however most installs probably generate the rings as root but the
swift-proxy runs as user swift.
Set the permissions on the generated ring to 0644 prior to rename so
that the swift user can read the rings.
Reviewed: https:/ /review. openstack. org/85546 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=b9b5fef89af 51c66905de33e24 36c063f4b09d36
Committed: https:/
Submitter: Jenkins
Branch: master
commit b9b5fef89af51c6 6905de33e2436c0 63f4b09d36
Author: James Page <email address hidden>
Date: Sat Apr 5 09:38:12 2014 +0100
Set permissions on generated ring files
The use of NamedTemporaryFile creates rings with permissions 0600;
however most installs probably generate the rings as root but the
swift-proxy runs as user swift.
Set the permissions on the generated ring to 0644 prior to rename so
that the swift user can read the rings.
Change-Id: Ia511931f471c5c 9840012c3a75b89 c1f35b1b245
Closes-Bug: #1302700