~zulcss/swift/1.10

« back to all changes in this revision

Viewing changes to debian/python-swift.postinst

  • Committer: Chuck Short
  • Author(s): James Page
  • Date: 2013-10-03 12:44:59 UTC
  • mfrom: (149.1.1 swift)
  • Revision ID: zulcss@ubuntu.com-20131003124459-kydjt3oeoo8gh0w8
The swift daemons need write permissions on /var/cache/swift

Allow then to have this!

I think this causes occasional 503 messages on havana swift.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
usermod -G adm swift
10
10
 
 
11
if [ -d /var/cache/swift ] ; then
 
12
  # Allow swift user to write to cache directory
 
13
  chown root:swift /var/cache/swift
 
14
  chmod 0775 /var/cache/swift
 
15
fi
 
16
 
 
17
exit 0