[Pkg-ceph-commits] [ceph] 03/04: Fixup chown of directories under /var/lib/ceph
James Downing Page
jamespage at moszumanska.debian.org
Mon Nov 30 09:55:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
jamespage pushed a commit to branch experimental
in repository ceph.
commit 2b81011e842febaf25a10d70cec66accd81021bf
Author: James Page <james.page at ubuntu.com>
Date: Mon Nov 30 09:53:45 2015 +0000
Fixup chown of directories under /var/lib/ceph
---
debian/ceph.postinst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/ceph.postinst b/debian/ceph.postinst
index cc3712a..78fda41 100644
--- a/debian/ceph.postinst
+++ b/debian/ceph.postinst
@@ -39,9 +39,9 @@ case "$1" in
fi
}
fi
- for DIR in /var/lib/ceph/* ; do
- if ! dpkg-statoverride --list $DIR >/dev/null
- chown $SERVER_USER:$SERVER_GROUP $DIR
+ for DIR in `ls -1 /var/lib/ceph` ; do
+ if ! dpkg-statoverride --list /var/lib/ceph/$DIR >/dev/null; then
+ chown $SERVER_USER:$SERVER_GROUP /var/lib/ceph/$DIR
fi
done
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git
More information about the Pkg-ceph-commits
mailing list