Fix: still need to get uid+gid of swift user in install hook.

This commit is contained in:
Adam Gandelman
2012-12-19 15:19:16 -08:00
parent 92165500de
commit 141b8ce871
2 changed files with 2 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ def install():
# configure a directory on webserver for distributing rings.
if not os.path.isdir(swift.WWW_DIR):
os.mkdir(swift.WWW_DIR, 0755)
uid, gid = swift.swift_user()
os.chown(swift.WWW_DIR, uid, gid)
swift.write_apache_config()

View File

@@ -1 +1 @@
103
104