]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/post-file.sh: sudo
authorSage Weil <sage@redhat.com>
Sat, 5 Sep 2015 13:28:17 +0000 (09:28 -0400)
committerSage Weil <sage@redhat.com>
Sun, 6 Sep 2015 18:19:24 +0000 (14:19 -0400)
Only root can read the key in /usr/share/...

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/post-file.sh

index 02a4ca292beaa92ff51df35e618229192773a9e7..133e66867c0e810575bbee4c4f0df6a1332f5b7c 100755 (executable)
@@ -2,6 +2,6 @@
 
 what="$1"
 [ -z "$what" ] && what=/etc/udev/rules.d
-ceph-post-file -d ceph-test-workunit $what
+sudo ceph-post-file -d ceph-test-workunit $what
 
 echo OK